-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #18 from archonitelabs/use-arm64-runners
test on ARM64 GitHub runners
- Loading branch information
Showing
3 changed files
with
38 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 }} | ||
|
@@ -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 }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 }} | ||
|
@@ -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 }} | ||
|
@@ -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 |