Change indentation and block comment style in GitLab CI config
This commit is contained in:
parent
82f8620292
commit
e24b3bbbf8
|
@ -1,5 +1,5 @@
|
|||
#include:
|
||||
#- template: Security/SAST.gitlab-ci.yml
|
||||
.disabled_not_a_job_include:
|
||||
- template: Security/SAST.gitlab-ci.yml
|
||||
|
||||
variables:
|
||||
CI_HAWK_ARTIFACT_NAME: "BizHawk_devbuild_${CI_COMMIT_SHORT_SHA}"
|
||||
|
@ -7,11 +7,11 @@ variables:
|
|||
CI_HAWK_TMPARTIFACT_NAME: "BizHawk_tempbuild_${CI_COMMIT_REF_SLUG}_${CI_COMMIT_SHORT_SHA}"
|
||||
|
||||
stages:
|
||||
- build
|
||||
- test
|
||||
- package
|
||||
- build
|
||||
- test
|
||||
- package
|
||||
|
||||
.with-cachix-mono:
|
||||
.with_cachix_mono:
|
||||
before_script:
|
||||
- nix-env -iA nixpkgs.cachix
|
||||
- cachix use $CACHIX_CACHE_NAME
|
||||
|
@ -45,7 +45,7 @@ build_ext_tools:
|
|||
|
||||
build_nix_master:
|
||||
allow_failure: true
|
||||
extends: .with-cachix-mono
|
||||
extends: .with_cachix_mono
|
||||
needs: []
|
||||
rules:
|
||||
- if: '$CI_PIPELINE_SOURCE == "schedule"'
|
||||
|
@ -56,7 +56,7 @@ build_nix_master:
|
|||
|
||||
build_nix_prev_release:
|
||||
allow_failure: true
|
||||
extends: .with-cachix-mono
|
||||
extends: .with_cachix_mono
|
||||
needs: []
|
||||
rules:
|
||||
- if: '$CI_PIPELINE_SOURCE == "schedule"'
|
||||
|
@ -83,22 +83,22 @@ check_style:
|
|||
- ../../Dist/BuildRelease.sh -p:MachineRunAnalyzersDuringBuild=true
|
||||
stage: test
|
||||
|
||||
#infersharp:
|
||||
# artifacts:
|
||||
# paths:
|
||||
# - infer-out/*
|
||||
# image: mcr.microsoft.com/infersharp:v1.0
|
||||
# needs:
|
||||
# - job: build
|
||||
# rules:
|
||||
# - if: '$CI_PIPELINE_SOURCE == "schedule"'
|
||||
# when: always
|
||||
# script:
|
||||
# - mkdir "infer-in"
|
||||
# - find output -name "BizHawk.*.dll" -exec cp "{}" "infer-in" \;
|
||||
# - cp "output/EmuHawk.exe" "infer-in"
|
||||
# - /app/run_infersharp.sh "infer-in"
|
||||
# stage: test
|
||||
.disabled_job_infersharp:
|
||||
artifacts:
|
||||
paths:
|
||||
- infer-out/*
|
||||
image: mcr.microsoft.com/infersharp:v1.0
|
||||
needs:
|
||||
- job: build
|
||||
rules:
|
||||
- if: '$CI_PIPELINE_SOURCE == "schedule"'
|
||||
when: always
|
||||
script:
|
||||
- mkdir "infer-in"
|
||||
- find output -name "BizHawk.*.dll" -exec cp "{}" "infer-in" \;
|
||||
- cp "output/EmuHawk.exe" "infer-in"
|
||||
- /app/run_infersharp.sh "infer-in"
|
||||
stage: test
|
||||
|
||||
.package_linux_x64:
|
||||
artifacts:
|
||||
|
@ -181,12 +181,12 @@ run_tests:
|
|||
- ../../Dist/BuildTestRelease.sh
|
||||
stage: test
|
||||
|
||||
#sast:
|
||||
# variables:
|
||||
# SAST_EXCLUDED_ANALYZERS: bandit, brakeman, eslint, flawfinder, gosec, kubesec, nodejs-scan, phpcs-security-audit, pmd-apex, sobelow, spotbugs
|
||||
# stage: test
|
||||
.disabled_job_sast:
|
||||
variables:
|
||||
SAST_EXCLUDED_ANALYZERS: bandit, brakeman, eslint, flawfinder, gosec, kubesec, nodejs-scan, phpcs-security-audit, pmd-apex, sobelow, spotbugs
|
||||
stage: test
|
||||
|
||||
#cache:
|
||||
# key: "$CI_COMMIT_REF_SLUG"
|
||||
# paths:
|
||||
# - $HOME/.nuget/packages # probably won't work; set NUGET_PACKAGES to `BizHawk_master/.nuget_packages` and cache that
|
||||
.disabled_not_a_job_cache:
|
||||
key: "$CI_COMMIT_REF_SLUG"
|
||||
paths:
|
||||
- $HOME/.nuget/packages # probably won't work; set NUGET_PACKAGES to `BizHawk_master/.nuget_packages` and cache that
|
||||
|
|
Loading…
Reference in New Issue