Update CI
This commit is contained in:
parent
94a83c64f6
commit
1c272a2d3f
|
@ -7,17 +7,15 @@ job_build_dotnet:
|
|||
variables:
|
||||
GIT_SUBMODULE_STRATEGY: recursive
|
||||
script:
|
||||
- pacman -Syu --needed dotnet-sdk --noconfirm
|
||||
- pacman-key --init
|
||||
- pacman-key --recv-keys 3FABB87C7C9F7E5FF2B6CB7B11A7E7E4DB9351DE
|
||||
- pacman-key --lsign-key 3FABB87C7C9F7E5FF2B6CB7B11A7E7E4DB9351DE
|
||||
- bash -c "echo -e '"'[zotancc]\nServer = https://arch.zotan.cc/zotancc/os/$arch'"' >> /etc/pacman.conf"
|
||||
- pacman -Syu --needed dotnet-sdk-bin --noconfirm
|
||||
- curl -Lo warp-packer https://github.com/dgiagio/warp/releases/download/v0.3.0/linux-x64.warp-packer && chmod +x warp-packer
|
||||
- dotnet publish -c Release -r linux-x64
|
||||
- dotnet publish -c Release -r osx-x64
|
||||
- dotnet publish -c Release -r win-x64
|
||||
- ./warp-packer --arch linux-x64 --input_dir bin/Release/netcoreapp2.2/linux-x64/publish --exec webmusic --output webmusic.linux.run
|
||||
- ./warp-packer --arch macos-x64 --input_dir bin/Release/netcoreapp2.2/osx-x64/publish --exec webmusic --output webmusic.macos.run
|
||||
- ./warp-packer --arch windows-x64 --input_dir bin/Release/netcoreapp2.2/win-x64/publish --exec webmusic.exe --output webmusic.windows.exe
|
||||
- chmod +x webmusic.linux.run webmusic.macos.run
|
||||
- ./warp-packer --arch linux-x64 --input_dir bin/Release/netcoreapp3.1/linux-x64/publish --exec webmusic --output webmusic.linux.run
|
||||
- chmod +x webmusic.linux.run
|
||||
artifacts:
|
||||
paths:
|
||||
- webmusic.linux.run
|
||||
- webmusic.macos.run
|
||||
- webmusic.windows.exe
|
||||
|
|
Loading…
Reference in New Issue