From fd4b20f063d5b991afc3197eb55631b007b5d98c Mon Sep 17 00:00:00 2001 From: Johnny Shaw Date: Mon, 10 Jun 2024 09:25:16 -0600 Subject: [PATCH] testing upstream patch for setup-bazel --- .github/workflows/unit-tests.yaml | 32 +++++++++++++++---------------- 1 file changed, 15 insertions(+), 17 deletions(-) diff --git a/.github/workflows/unit-tests.yaml b/.github/workflows/unit-tests.yaml index 43ac3ad..5e3c970 100644 --- a/.github/workflows/unit-tests.yaml +++ b/.github/workflows/unit-tests.yaml @@ -65,20 +65,18 @@ jobs: - name: Build and Run Unit Tests run: bazel test --test_output=all //... shell: cmd - # Disabled until the following are resolved: - # https://github.com/bazel-contrib/setup-bazel/issues/25 - # https://github.com/bazelbuild/bazelisk/issues/572 - #Windows-ARM64: - # runs-on: archonite-windows-arm64 - # steps: - # - name: Checkout - # uses: actions/checkout@v4 - # - name: Setup Bazel - # uses: bazel-contrib/setup-bazel@0.8.5 - # with: - # bazelisk-cache: true - # disk-cache: ${{ github.workflow }} - # repository-cache: true - # - name: Build and Run Unit Tests - # run: bazel test --test_output=all //... - # shell: cmd + Windows-ARM64: + runs-on: archonite-windows-arm64 + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Setup Bazel + uses: bazel-contrib/setup-bazel@273e9779f41ae1ff105b0e30dbb24ac5187b4ba6 + with: + bazelisk-cache: true + disk-cache: ${{ github.workflow }} + repository-cache: true + bazelisk-version: 1x + - name: Build and Run Unit Tests + run: bazel test --test_output=all -s --toolchain_resolution_debug=.* //... + shell: cmd