Increase verbosity of `dotnet build` in CI
This commit is contained in:
parent
cae739a826
commit
1e5d11bf84
|
@ -27,7 +27,7 @@ build_asms_debug:
|
||||||
- output
|
- output
|
||||||
image: mcr.microsoft.com/dotnet/sdk:6.0
|
image: mcr.microsoft.com/dotnet/sdk:6.0
|
||||||
script:
|
script:
|
||||||
- Dist/BuildDebug.sh
|
- Dist/BuildDebug.sh -v normal
|
||||||
stage: build
|
stage: build
|
||||||
|
|
||||||
build_asms_release:
|
build_asms_release:
|
||||||
|
@ -39,7 +39,7 @@ build_asms_release:
|
||||||
image: mcr.microsoft.com/dotnet/sdk:6.0
|
image: mcr.microsoft.com/dotnet/sdk:6.0
|
||||||
script:
|
script:
|
||||||
- if [ "$CI_COMMIT_REF_SLUG" == "release" ]; then Dist/UpdateVersionInfoForRelease.sh; fi
|
- if [ "$CI_COMMIT_REF_SLUG" == "release" ]; then Dist/UpdateVersionInfoForRelease.sh; fi
|
||||||
- Dist/BuildRelease.sh
|
- Dist/BuildRelease.sh -v normal
|
||||||
stage: build
|
stage: build
|
||||||
|
|
||||||
build_ext_projs:
|
build_ext_projs:
|
||||||
|
@ -49,7 +49,7 @@ build_ext_projs:
|
||||||
- if: '$CI_PIPELINE_SOURCE == "schedule"'
|
- if: '$CI_PIPELINE_SOURCE == "schedule"'
|
||||||
when: always
|
when: always
|
||||||
script:
|
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
|
stage: test
|
||||||
|
|
||||||
build_ext_tools:
|
build_ext_tools:
|
||||||
|
@ -61,7 +61,7 @@ build_ext_tools:
|
||||||
- if: '$CI_PIPELINE_SOURCE == "schedule"'
|
- if: '$CI_PIPELINE_SOURCE == "schedule"'
|
||||||
when: always
|
when: always
|
||||||
script:
|
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
|
stage: test
|
||||||
|
|
||||||
build_nix_master:
|
build_nix_master:
|
||||||
|
@ -99,7 +99,7 @@ check_style:
|
||||||
when: always
|
when: always
|
||||||
allow_failure: false
|
allow_failure: false
|
||||||
script:
|
script:
|
||||||
- Dist/BuildRelease.sh -p:RunAnalyzersDuringBuild=true
|
- Dist/BuildRelease.sh -v normal -p:RunAnalyzersDuringBuild=true
|
||||||
stage: test
|
stage: test
|
||||||
|
|
||||||
.disabled_job_infersharp:
|
.disabled_job_infersharp:
|
||||||
|
@ -198,7 +198,7 @@ run_tests:
|
||||||
artifacts: false
|
artifacts: false
|
||||||
script:
|
script:
|
||||||
- Dist/BuildDebug.sh # populate output
|
- Dist/BuildDebug.sh # populate output
|
||||||
- Dist/BuildTestRelease.sh
|
- Dist/BuildTestRelease.sh -v normal
|
||||||
stage: test
|
stage: test
|
||||||
|
|
||||||
.disabled_job_sast:
|
.disabled_job_sast:
|
||||||
|
|
|
@ -104,7 +104,7 @@
|
||||||
buildType = buildConfig; #TODO move debug symbols to `!debug`?
|
buildType = buildConfig; #TODO move debug symbols to `!debug`?
|
||||||
extraDotnetBuildFlags = let
|
extraDotnetBuildFlags = let
|
||||||
s = lib.optionalString (extraDefines != "") "-p:MachineExtraCompilationFlag=${extraDefines} ";
|
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 = ''
|
buildPhase = ''
|
||||||
runHook preBuild
|
runHook preBuild
|
||||||
|
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
dotnet build -c Debug -m
|
dotnet build -c Debug -m "$@"
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
dotnet build -c Release -m
|
dotnet build -c Release -m "$@"
|
||||||
|
|
Loading…
Reference in New Issue