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

test on ARM64 GitHub runners #18

Merged
merged 4 commits into from
Jun 4, 2024
Merged
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/[email protected].2
uses: bazel-contrib/[email protected].5
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/[email protected].2
uses: bazel-contrib/[email protected].5
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/[email protected].2
uses: bazel-contrib/[email protected].5
with:
bazelisk-cache: true
disk-cache: ${{ github.workflow }}
Expand Down
41 changes: 35 additions & 6 deletions .github/workflows/unit-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,20 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Bazel
uses: bazel-contrib/[email protected]
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 //...
Linux-ARM64:
runs-on: archonite-linux-arm64
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Bazel
uses: bazel-contrib/[email protected]
with:
bazelisk-cache: true
disk-cache: ${{ github.workflow }}
Expand All @@ -31,7 +44,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Bazel
uses: bazel-contrib/[email protected].2
uses: bazel-contrib/[email protected].5
with:
bazelisk-cache: true
disk-cache: ${{ github.workflow }}
Expand All @@ -44,12 +57,28 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Bazel
uses: bazel-contrib/[email protected].2
uses: bazel-contrib/[email protected].5
with:
bazelisk-cache: true
disk-cache: ${{ github.workflow }}
repository-cache: true
- name: Build and Run Unit Tests
# extra slash is an intentional hack, powershell converts a // to /
run: bazel test --test_output=all ///...
shell: bash
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
Loading