diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000000000000000000000000000000000000..c374f766cb4ea90090f99f4af4dbde76b55d2578 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,95 @@ +--- +# DO NOT EDIT + +kind: pipeline +type: docker +name: linux-amd64-binary + +platform: + arch: amd64 + os: linux + +steps: +#- name: srb2-data-download +# image: archlinux/archlinux:base-devel +# commands: +# - git clone https://aur.archlinux.org/srb2-data.git && cd srb2-data && makepkg -si + +- name: update&build + image: archlinux/archlinux:base-devel + pull: if-not-exists + commands: + - pacman -Syu libgme libopenmpt libpng sdl2_mixer glu mesa nasm upx git --noconfirm + - make -C src/ LINUX64=1 EXENAME=lsdl2srb2_x64_netplus -j $(grep -c processor /proc/cpuinfo) + +- name: publish + image: vividboarder/drone-webdav + settings: + file: bin/lsdl2srb2_x64_netplus + destination: + from_secret: upload_destination_linux + username: + from_secret: webdav_username + password: + from_secret: webdav_password + +--- + +kind: pipeline +type: docker +name: windows-x86-binary + +platform: + arch: amd64 + os: linux + +steps: + +- name: update&build + image: archlinux/archlinux:base-devel + pull: if-not-exists + commands: + - pacman -Syu libgme libopenmpt libpng sdl2_mixer glu mesa nasm upx git mingw-w64-binutils mingw-w64-crt mingw-w64-gcc mingw-w64-headers mingw-w64-winpthreads --noconfirm + - env PREFIX=i686-w64-mingw32 make -C src/ NOUPX=1 MINGW=1 EXENAME=srb2win_netplus.exe -j $(grep -c processor /proc/cpuinfo) + +- name: publish + image: vividboarder/drone-webdav + settings: + file: bin/srb2win_netplus.exe + destination: + from_secret: upload_destination_windowsx86 + username: + from_secret: webdav_username + password: + from_secret: webdav_password + +--- + +kind: pipeline +type: docker +name: windows-x64-binary + +platform: + arch: amd64 + os: linux + +steps: + +- name: update&build + image: archlinux/archlinux:base-devel + pull: if-not-exists + commands: + - pacman -Syu libgme libopenmpt libpng sdl2_mixer glu mesa nasm upx git mingw-w64-binutils mingw-w64-crt mingw-w64-gcc mingw-w64-headers mingw-w64-winpthreads --noconfirm + - env PREFIX=x86_64-w64-mingw32 make -C src/ MINGW64=1 NOUPX=1 EXENAME=srb2win_x64_netplus.exe -j $(grep -c processor /proc/cpuinfo) + +- name: publish + image: vividboarder/drone-webdav + settings: + file: bin/srb2win_x64_netplus.exe + destination: + from_secret: upload_destination_windowsx64 + username: + from_secret: webdav_username + password: + from_secret: webdav_password + diff --git a/README.md b/README.md index cf8c72df78da847d634c50ad47263718b3186b28..a9979f04c841b19583fbcafad57d1b7872ca0f37 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ # Sonic Robo Blast 2 NetPlus - Rollback Netcode mod +[](https://droneci.netplus.friskyfox.art/NetPlus/netplus) [Sonic Robo Blast 2](https://srb2.org/) is a 3D Sonic the Hedgehog fangame based on a modified version of [Doom Legacy](http://doomlegacy.sourceforge.net/).