ci: add Windows cargo-xwin release PoC

This commit is contained in:
Michael Bolin
2026-04-30 22:04:18 -07:00
parent 719431da6e
commit d70dd9ee57
6 changed files with 284 additions and 34 deletions
+2 -5
View File
@@ -22,8 +22,6 @@ jobs:
# true test failure in a rust_test() marked "flaky" that gets run 3x.
# In that case, extra time generally does not give us more signal.
#
# Ultimately we need true distributed builds (e.g.,
# https://www.buildbuddy.io/docs/rbe-setup/) to speed things up.
timeout-minutes: 30
strategy:
fail-fast: false
@@ -53,7 +51,7 @@ jobs:
runs-on: ${{ matrix.os }}
# Configure a human readable name for each job
name: Local Bazel build on ${{ matrix.os }} for ${{ matrix.target }}
name: Bazel test on ${{ matrix.os }} for ${{ matrix.target }}
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
@@ -100,8 +98,7 @@ jobs:
--build_metadata=COMMIT_SHA=${GITHUB_SHA}
)
if [[ "${RUNNER_OS}" == "Windows" ]]; then
bazel_wrapper_args+=(--windows-msvc-host-platform)
bazel_test_args+=(--jobs=8)
bazel_wrapper_args+=(--windows-msvc-host-platform --windows-cross-compile)
fi
./.github/scripts/run-bazel-ci.sh \