In GitLab CI, build BizHawk.Version project separately first

this is a faster "solution" to the problem of first-clone builds failing because
of a missing /src/BizHawk.Common/VersionInfo.gen.cs (the old solution being to
run the build again on failure)
This commit is contained in:
YoshiRulz 2021-04-04 14:23:41 +10:00
parent aab0dd582d
commit 766e2aa14d
No known key found for this signature in database
GPG Key ID: C4DE31C245353FB7
1 changed files with 6 additions and 2 deletions

View File

@ -47,7 +47,9 @@ check_style:
when: always
allow_failure: false
script:
- Dist/BuildRelease.sh -p:MachineRunAnalyzersDuringBuild=true || Dist/BuildRelease.sh -p:MachineRunAnalyzersDuringBuild=true
- cd src/BizHawk.Version
- dotnet build -c Release # configuration doesn't really matter as the assembly is empty
- ../../Dist/BuildRelease.sh -p:MachineRunAnalyzersDuringBuild=true
stage: test
#infersharp:
@ -142,7 +144,9 @@ run_tests:
- job: build
artifacts: false
script:
- Dist/BuildTestRelease.sh || Dist/BuildTestRelease.sh
- cd src/BizHawk.Version
- dotnet build -c Release # configuration doesn't really matter as the assembly is empty
- ../../Dist/BuildTestRelease.sh
stage: test
#sast: