Change indentation and block comment style in GitLab CI config

This commit is contained in:
YoshiRulz 2021-12-09 23:44:56 +10:00
parent 82f8620292
commit e24b3bbbf8
No known key found for this signature in database
GPG Key ID: C4DE31C245353FB7
1 changed files with 88 additions and 88 deletions

View File

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