Fix null variable checks in ci syntax

cirrus_ci_apple_silicon
Joseph Donofry 2 years ago committed by Joseph Donofry
parent 9e5457f374
commit ba8ed0703b
No known key found for this signature in database
GPG Key ID: E8A1D78EF044B0CB
  1. 14
      .gitlab-ci.yml

@ -29,7 +29,7 @@ build-clazy:
-DCI_BUILD=ON -DFETCHCONTENT_QUIET=OFF -DCMAKE_CXX_COMPILER=clazy
- cmake --build build
rules:
- if : '!$CI_PIPELINE_TRIGGERED'
- if : '$CI_PIPELINE_TRIGGERED == null'
cache:
key: "$CI_JOB_NAME"
paths:
@ -66,7 +66,7 @@ build-gcc11:
after_script:
- mv ../.hunter .hunter
rules:
- if : '!$CI_PIPELINE_TRIGGERED'
- if : '$CI_PIPELINE_TRIGGERED == null'
cache:
key: "$CI_JOB_NAME"
paths:
@ -105,7 +105,7 @@ build-gcc10:
after_script:
- mv ../.hunter .hunter
rules:
- if : '!$CI_PIPELINE_TRIGGERED'
- if : '$CI_PIPELINE_TRIGGERED == null'
cache:
key: "$CI_JOB_NAME"
paths:
@ -135,7 +135,7 @@ build-macos:
after_script:
- mv ../.hunter .hunter
rules:
- if : '!$CI_PIPELINE_TRIGGERED'
- if : '$CI_PIPELINE_TRIGGERED == null'
artifacts:
paths:
- build/nheko.app
@ -196,7 +196,7 @@ build-flatpak-amd64:
- (cd ./scripts && ./upload-to-flatpak-repo.sh ../build-flatpak/repo) || true
- bash ./.ci/upload-nightly-gitlab.sh build-flatpak/nheko-amd64.flatpak
rules:
- if : '!$CI_PIPELINE_TRIGGERED'
- if : '$CI_PIPELINE_TRIGGERED == null'
cache:
key: "$CI_JOB_NAME"
paths:
@ -226,7 +226,7 @@ build-flatpak-arm64:
- (cd ./scripts && ./upload-to-flatpak-repo.sh ../build-flatpak/repo) || true
- bash ./.ci/upload-nightly-gitlab.sh build-flatpak/nheko-arm64.flatpak
rules:
- if : '!$CI_PIPELINE_TRIGGERED'
- if : '$CI_PIPELINE_TRIGGERED == null'
cache:
key: "$CI_JOB_NAME"
paths:
@ -249,5 +249,5 @@ linting:
- make lint
- make license
rules:
- if : '!$CI_PIPELINE_TRIGGERED'
- if : '$CI_PIPELINE_TRIGGERED == null'

Loading…
Cancel
Save