Update GitLab CI

now uses SDK 5.0 preview (automatically grabs latest); check_style only runs for
the weekly cached build; replaced only with rules (they'll maybe probably who
knows deprecate only)
This commit is contained in:
YoshiRulz 2020-06-07 02:19:01 +10:00
parent e69cedfdfa
commit 04223d2c81
No known key found for this signature in database
GPG Key ID: C4DE31C245353FB7
1 changed files with 8 additions and 3 deletions

View File

@ -1,4 +1,4 @@
image: mcr.microsoft.com/dotnet/core/sdk:3.1
image: mcr.microsoft.com/dotnet/sdk:latest
stages:
- build
@ -17,6 +17,10 @@ build:
stage: build
check_style:
allow_failure: true
rules:
- if: '$BIZHAWKBUILD_USE_ANALYZERS != null'
when: always
script:
- Dist/BuildRelease.sh -p:MachineRunAnalyzersDuringBuild=true
stage: test
@ -38,8 +42,9 @@ create_archive:
name: "BizHawk_devbuild_$CI_COMMIT_REF_SLUG"
paths:
- output
only:
- master
rules:
- if: '$CI_COMMIT_REF_SLUG == "master"'
when: always
script:
- ''
stage: archive