Increase verbosity of `dotnet build` in CI

This commit is contained in:
James Groom 2023-12-22 03:20:19 +00:00 committed by GitHub
parent cae739a826
commit 1e5d11bf84
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 9 additions and 9 deletions

View File

@ -27,7 +27,7 @@ build_asms_debug:
- output
image: mcr.microsoft.com/dotnet/sdk:6.0
script:
- Dist/BuildDebug.sh
- Dist/BuildDebug.sh -v normal
stage: build
build_asms_release:
@ -39,7 +39,7 @@ build_asms_release:
image: mcr.microsoft.com/dotnet/sdk:6.0
script:
- if [ "$CI_COMMIT_REF_SLUG" == "release" ]; then Dist/UpdateVersionInfoForRelease.sh; fi
- Dist/BuildRelease.sh
- Dist/BuildRelease.sh -v normal
stage: build
build_ext_projs:
@ -49,7 +49,7 @@ build_ext_projs:
- if: '$CI_PIPELINE_SOURCE == "schedule"'
when: always
script:
- for d in $CI_PROJECT_DIR/ExternalProjects/*; do if [ -e "$d/build_release.sh" -a "$(find "$d" -maxdepth 1 -name '*.csproj' -print -quit)" ]; then cd "$d"; ./build_release.sh || exit $?; fi; done
- for d in $CI_PROJECT_DIR/ExternalProjects/*; do if [ -e "$d/build_release.sh" -a "$(find "$d" -maxdepth 1 -name '*.csproj' -print -quit)" ]; then cd "$d"; ./build_release.sh -v normal || exit $?; fi; done
stage: test
build_ext_tools:
@ -61,7 +61,7 @@ build_ext_tools:
- if: '$CI_PIPELINE_SOURCE == "schedule"'
when: always
script:
- for d in $CI_PROJECT_DIR/ExternalToolProjects/*; do if [ -d "$d" ]; then cd "$d" && ./build_release.sh; fi; done
- for d in $CI_PROJECT_DIR/ExternalToolProjects/*; do if [ -d "$d" ]; then cd "$d" && ./build_release.sh -v normal; fi; done
stage: test
build_nix_master:
@ -99,7 +99,7 @@ check_style:
when: always
allow_failure: false
script:
- Dist/BuildRelease.sh -p:RunAnalyzersDuringBuild=true
- Dist/BuildRelease.sh -v normal -p:RunAnalyzersDuringBuild=true
stage: test
.disabled_job_infersharp:
@ -198,7 +198,7 @@ run_tests:
artifacts: false
script:
- Dist/BuildDebug.sh # populate output
- Dist/BuildTestRelease.sh
- Dist/BuildTestRelease.sh -v normal
stage: test
.disabled_job_sast:

View File

@ -104,7 +104,7 @@
buildType = buildConfig; #TODO move debug symbols to `!debug`?
extraDotnetBuildFlags = let
s = lib.optionalString (extraDefines != "") "-p:MachineExtraCompilationFlag=${extraDefines} ";
in "-maxcpucount:$NIX_BUILD_CORES -p:BuildInParallel=true --no-restore -p:ContinuousIntegrationBuild=true ${s}${extraDotnetBuildFlags}";
in "-maxcpucount:$NIX_BUILD_CORES -p:BuildInParallel=true --no-restore -v normal -p:ContinuousIntegrationBuild=true ${s}${extraDotnetBuildFlags}";
buildPhase = ''
runHook preBuild

View File

@ -1,2 +1,2 @@
#!/bin/sh
dotnet build -c Debug -m
dotnet build -c Debug -m "$@"

View File

@ -1,2 +1,2 @@
#!/bin/sh
dotnet build -c Release -m
dotnet build -c Release -m "$@"