From c9146968bdefc7e9201e38bfb05f7cb5c15bd4fa Mon Sep 17 00:00:00 2001 From: Nicholas Junge Date: Fri, 28 Jul 2023 13:20:56 +0200 Subject: [PATCH] Re-enable windows-latest tests for newer Bazel The Windows toolchain detection fix made it into Bazel 6.3.0, so the CI should work again with the re-enabled `windows-latest` marker. Require Bazel 6.3.0 in the Linux container setup in `cibuildwheel`. --- .github/install_bazel.sh | 2 +- .github/workflows/bazel.yml | 2 +- .github/workflows/wheels.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/install_bazel.sh b/.github/install_bazel.sh index bb910d8b57..2b1f4e726c 100644 --- a/.github/install_bazel.sh +++ b/.github/install_bazel.sh @@ -5,7 +5,7 @@ if ! bazel version; then fi echo "Installing wget and downloading $arch Bazel binary from GitHub releases." yum install -y wget - wget "https://github.com/bazelbuild/bazel/releases/download/6.0.0/bazel-6.0.0-linux-$arch" -O /usr/local/bin/bazel + wget "https://github.com/bazelbuild/bazel/releases/download/6.3.0/bazel-6.3.0-linux-$arch" -O /usr/local/bin/bazel chmod +x /usr/local/bin/bazel else # bazel is installed for the correct architecture diff --git a/.github/workflows/bazel.yml b/.github/workflows/bazel.yml index 53f6d3e6b1..1cdc38c97e 100644 --- a/.github/workflows/bazel.yml +++ b/.github/workflows/bazel.yml @@ -11,7 +11,7 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-latest, macos-latest, windows-2019] + os: [ubuntu-latest, macos-latest, windows-latest] bzlmod: [false, true] steps: - uses: actions/checkout@v3 diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 5d0627266a..1f73bff4b2 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -46,7 +46,7 @@ jobs: platforms: all - name: Build wheels on ${{ matrix.os }} using cibuildwheel - uses: pypa/cibuildwheel@v2.12.0 + uses: pypa/cibuildwheel@v2.14.1 env: CIBW_BUILD: 'cp38-* cp39-* cp310-* cp311-*' CIBW_SKIP: "*-musllinux_*"