mirror of
https://gitlab.acidiclight.dev/sociallydistant/sociallydistant.git
synced 2025-01-22 17:41:49 -05:00
ea547fdfbd
Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>
33 lines
1.1 KiB
YAML
33 lines
1.1 KiB
YAML
stages:
|
|
- build
|
|
- deploy
|
|
|
|
dco_check:
|
|
stage: build
|
|
script: >
|
|
echo $CI_COMMIT_MESSAGE | grep "Signed-off-by: $CI_COMMIT_AUTHOR"
|
|
|
|
setup_mgfxc:
|
|
stage: build
|
|
script: >
|
|
./mgfxc-wine-setup.sh
|
|
|
|
# Makes sure the base game compiles.
|
|
build_base:
|
|
stage: build
|
|
script:
|
|
- if (dotnet nuget list source | grep monogame-socially-distant); then dotnet nuget remove source monogame-socially-distant; fi
|
|
- dotnet nuget add source -n monogame-socially-distant https://gitlab.acidiclight.dev/api/v4/projects/13/packages/nuget/index.json
|
|
- dotnet build -c release src
|
|
|
|
publish_linux:
|
|
stage: deploy
|
|
script:
|
|
- mkdir bin;
|
|
- if (dotnet nuget list source | grep monogame-socially-distant); then dotnet nuget remove source monogame-socially-distant; fi
|
|
- dotnet nuget add source -n monogame-socially-distant https://gitlab.acidiclight.dev/api/v4/projects/13/packages/nuget/index.json
|
|
- dotnet publish src/SociallyDistant -r linux-x64 -c release --self-contained -o bin/linux-x64;
|
|
artifacts:
|
|
name: socially-distant-linux-amd64-release
|
|
paths:
|
|
- bin/linux-x64
|