Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Windows ARM64 Runners #21

Open
wants to merge 10 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Bazel
uses: bazel-contrib/setup-bazel@0.8.5
uses: bazel-contrib/setup-bazel@0.9.0
with:
bazelisk-cache: true
disk-cache: ${{ github.workflow }}
Expand All @@ -31,7 +31,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Bazel
uses: bazel-contrib/setup-bazel@0.8.5
uses: bazel-contrib/setup-bazel@0.9.0
with:
bazelisk-cache: true
disk-cache: ${{ github.workflow }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/code-coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Bazel
uses: bazel-contrib/setup-bazel@0.8.5
uses: bazel-contrib/setup-bazel@0.9.0
with:
bazelisk-cache: true
disk-cache: ${{ github.workflow }}
Expand Down
40 changes: 19 additions & 21 deletions .github/workflows/unit-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
- name: Checkout
uses: actions/checkout@v4
- name: Setup Bazel
uses: bazel-contrib/setup-bazel@0.8.5
uses: bazel-contrib/setup-bazel@0.9.0
with:
bazelisk-cache: true
disk-cache: ${{ github.workflow }}
Expand All @@ -31,7 +31,7 @@
- name: Checkout
uses: actions/checkout@v4
- name: Setup Bazel
uses: bazel-contrib/setup-bazel@0.8.5
uses: bazel-contrib/setup-bazel@0.9.0
with:
bazelisk-cache: true
disk-cache: ${{ github.workflow }}
Expand All @@ -44,7 +44,7 @@
- name: Checkout
uses: actions/checkout@v4
- name: Setup Bazel
uses: bazel-contrib/setup-bazel@0.8.5
uses: bazel-contrib/setup-bazel@0.9.0
with:
bazelisk-cache: true
disk-cache: ${{ github.workflow }}
Expand All @@ -57,28 +57,26 @@
- name: Checkout
uses: actions/checkout@v4
- name: Setup Bazel
uses: bazel-contrib/setup-bazel@0.8.5
uses: bazel-contrib/setup-bazel@0.9.0
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
# 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/[email protected]
# 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@dac93a5ea3e0f98fc0d5b3a4f7700f579b96612d
with:
bazelisk-cache: true
disk-cache: ${{ github.workflow }}
repository-cache: true
bazelisk-version: 1.x
- name: Build and Run Unit Tests
run: dir C:\a\_tool\bazelisk\1.x\arm64 && C:\a\_tool\bazelisk\1.x\arm64\bazel.exe test -s --toolchain_resolution_debug=.* //...

Check failure on line 81 in .github/workflows/unit-tests.yaml

View workflow job for this annotation

GitHub Actions / Lint

81:81 [line-length] line too long (135 > 80 characters)
shell: cmd
Loading