mirror of
https://gitlab.acidiclight.dev/sociallydistant/sociallydistant.git
synced 2025-01-22 17:41:49 -05:00
Remove support for Windows in CI pipeline
Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>
This commit is contained in:
parent
3d83a57729
commit
9b775ff7f9
1 changed files with 1 additions and 17 deletions
|
@ -22,25 +22,9 @@ publish_linux:
|
|||
stage: deploy
|
||||
script: >
|
||||
mkdir bin;
|
||||
dotnet build -c release src;
|
||||
dotnet build -c release -r linux-x64 src;
|
||||
dotnet publish src/SociallyDistant -r linux-x64 -c release --self-contained --no-build -o bin/linux-x64;
|
||||
artifacts:
|
||||
name: socially-distant-linux-amd64-release
|
||||
paths:
|
||||
- bin/linux-x64
|
||||
|
||||
# Note: The no-build flag is not just an optimization. The runner runs Arch Linux, not Windows.
|
||||
# So we skip build during publish, otherwise custom MSBuild tasks won't run as a result of Linux trying to run a Windows binary.
|
||||
publish_windows:
|
||||
stage: deploy
|
||||
script: >
|
||||
mkdir bin;
|
||||
dotnet build -c release src;
|
||||
dotnet publish src/SociallyDistant -r win-x64 -c release --no-build --self-contained -o bin/windows-x64;
|
||||
artifacts:
|
||||
name: socially-distant-win64-release
|
||||
paths:
|
||||
- bin/windows-x64
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue