Skip to content
Snippets Groups Projects
Unverified Commit 5877f628 authored by John FrostFox's avatar John FrostFox :fox:
Browse files

CI/CD fix №3

parent bd2d57fb
Branches
No related tags found
No related merge requests found
...@@ -49,7 +49,7 @@ steps: ...@@ -49,7 +49,7 @@ steps:
image: archlinux/archlinux:base-devel image: archlinux/archlinux:base-devel
pull: if-not-exists pull: if-not-exists
commands: 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 - pacman -Syu 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) - env PREFIX=i686-w64-mingw32 make -C src/ NOUPX=1 MINGW=1 EXENAME=srb2win_netplus.exe -j $(grep -c processor /proc/cpuinfo)
- make clean - make clean
- rm make -rf - rm make -rf
...@@ -58,7 +58,7 @@ steps: ...@@ -58,7 +58,7 @@ steps:
- name: publish - name: publish
image: vividboarder/drone-webdav image: vividboarder/drone-webdav
settings: settings:
file: {bin/srb2win_netplus_discordrpc.exe,bin/srb2win_netplus.exe} file: bin/srb2win_netplus.exe
destination: destination:
from_secret: upload_destination_windowsx86 from_secret: upload_destination_windowsx86
username: username:
...@@ -66,6 +66,18 @@ steps: ...@@ -66,6 +66,18 @@ steps:
password: password:
from_secret: webdav_password from_secret: webdav_password
- name: publish_discordrpc
image: vividboarder/drone-webdav
settings:
file: bin/srb2win_netplus_discordrpc.exe
destination:
from_secret: upload_destination_windowsx64
username:
from_secret: webdav_username
password:
from_secret: webdav_password
--- ---
kind: pipeline kind: pipeline
...@@ -82,7 +94,7 @@ steps: ...@@ -82,7 +94,7 @@ steps:
image: archlinux/archlinux:base-devel image: archlinux/archlinux:base-devel
pull: if-not-exists pull: if-not-exists
commands: 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 - pacman -Syu 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) - env PREFIX=x86_64-w64-mingw32 make -C src/ MINGW64=1 NOUPX=1 EXENAME=srb2win_x64_netplus.exe -j $(grep -c processor /proc/cpuinfo)
- make clean - make clean
- rm make -rf - rm make -rf
...@@ -91,7 +103,7 @@ steps: ...@@ -91,7 +103,7 @@ steps:
- name: publish - name: publish
image: vividboarder/drone-webdav image: vividboarder/drone-webdav
settings: settings:
file: {bin/srb2win_x64_netplus_discordrpc.exe,bin/srb2win_x64_netplus.exe} file: bin/srb2win_x64_netplus.exe
destination: destination:
from_secret: upload_destination_windowsx64 from_secret: upload_destination_windowsx64
username: username:
...@@ -99,3 +111,13 @@ steps: ...@@ -99,3 +111,13 @@ steps:
password: password:
from_secret: webdav_password from_secret: webdav_password
- name: publish_discordrpc
image: vividboarder/drone-webdav
settings:
file: bin/srb2win_x64_netplus_discordrpc.exe
destination:
from_secret: upload_destination_windowsx64
username:
from_secret: webdav_username
password:
from_secret: webdav_password
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment