Skip to content

Commit 07bbbb8

Browse files
committed
Make bazel job blocking again on Windows
As #incident-42947 is now marked as stable, this change aims at bringing back (see #41023) a `bazel` build job to a gating criteria so that regressions when building dependencies on Windows can't go unnoticed. The change also removes an unwanted `#< CLIXML` header in the job output, see: PowerShell/PowerShell#16678
1 parent f0e96fd commit 07bbbb8

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

.gitlab/bazel/build-deps.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,6 @@ bazel:build-deps:windows-amd64:
4646
variables:
4747
ARCH: x64
4848
SCRIPT: |-
49-
echo "🟡 TODO(regis): compilation errors remain - limiting to a working subset for the time being"
49+
[Console]::WriteLine("🟡 TODO(regis): compilation errors remain - limiting to a working subset for the time being")
5050
bazel build '@zlib//...' '@libffi//:ffi'
5151
# bazel build @bzip2//...

.gitlab/bazel/defs.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@
2626
.bazel:ext:windows:
2727
extends: .windows_docker_default
2828
timeout: 60m # pulling images alone can take more than 30m
29-
allow_failure: true
30-
retry: 0
3129
variables:
3230
GIT_DEPTH: 2
3331
script:
@@ -53,4 +51,4 @@
5351
--volume="${RUNNER_TEMP_PROJECT_DIR}:$RUNNER_TEMP_PROJECT_DIR"
5452
--workdir="$CI_PROJECT_DIR"
5553
"$WINBUILDIMAGE"
56-
powershell -NonInteractive -NoLogo -NoProfile -OutputFormat Text -EncodedCommand $EncodedCommand
54+
powershell -NonInteractive -NoLogo -NoProfile -InputFormat Text -OutputFormat Text -EncodedCommand $EncodedCommand

0 commit comments

Comments
 (0)