Add GitLab CI (builds w/ dotnet on Linux)
This commit is contained in:
parent
2e8e2bfab4
commit
09595fef9e
|
@ -0,0 +1,33 @@
|
||||||
|
image: microsoft/dotnet:latest
|
||||||
|
|
||||||
|
stages:
|
||||||
|
- build
|
||||||
|
- deploy
|
||||||
|
|
||||||
|
build:
|
||||||
|
artifacts:
|
||||||
|
expire_in: "30 minutes"
|
||||||
|
name: "BizHawk_tempbuild_$CI_COMMIT_REF_SLUG"
|
||||||
|
paths:
|
||||||
|
- output
|
||||||
|
when: always
|
||||||
|
script:
|
||||||
|
- dotnet build BizHawk.sln -c Release -m -p:MachineNuGetPackageDir=$HOME/.nuget/packages
|
||||||
|
stage: build
|
||||||
|
|
||||||
|
deploy_artifact:
|
||||||
|
artifacts:
|
||||||
|
expire_in: "1 month"
|
||||||
|
name: "BizHawk_devbuild_$CI_COMMIT_REF_SLUG"
|
||||||
|
paths:
|
||||||
|
- output
|
||||||
|
only:
|
||||||
|
- master
|
||||||
|
script:
|
||||||
|
- ''
|
||||||
|
stage: deploy
|
||||||
|
|
||||||
|
cache:
|
||||||
|
key: "$CI_COMMIT_REF_SLUG"
|
||||||
|
paths:
|
||||||
|
- packages
|
Loading…
Reference in New Issue