From 04223d2c81c4a999f9f086bce040a714adf1e899 Mon Sep 17 00:00:00 2001 From: YoshiRulz Date: Sun, 7 Jun 2020 02:19:01 +1000 Subject: [PATCH] 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) --- .gitlab-ci.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f8919e6301..a5804875e1 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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