From 766e2aa14dd6de1c8f285e4bf0df6013a17c31c4 Mon Sep 17 00:00:00 2001 From: YoshiRulz Date: Sun, 4 Apr 2021 14:23:41 +1000 Subject: [PATCH] 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) --- .gitlab-ci.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2bbbc184b0..51617a7ea4 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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: