Skip to content

Commit

Permalink
Add arm64 linux runner configurations
Browse files Browse the repository at this point in the history
  • Loading branch information
danlapid committed Jan 17, 2025
1 parent a50d62a commit 8c3907e
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,16 @@ jobs:
build:
strategy:
matrix:
os: [ubuntu-22.04, macos-15, windows-2022]
os: [ubuntu-22.04, ubuntu-22.04-arm, macos-15, windows-2022]
target-arch: [ X64 ]
include:
- os-name: linux
os: ubuntu-22.04
bazel-config: release_linux
- os-name: linux
os: ubuntu-22.04-arm
bazel-config: release_linux
target-arch: ARM64
# Based on runner availability, we build both Apple Silicon and (cross-compiled) x86
# release binaries on the macos-15 runner.
- os-name: macOS-x64
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ jobs:
os:
[
{ name : linux, image : ubuntu-22.04 },
{ name : linux-arm, image : ubuntu-22.04-arm },
{ name : macOS, image : macos-15 },
{ name : windows, image : windows-2025 }
]
Expand Down
3 changes: 3 additions & 0 deletions build/ci.bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,13 @@ build:ci-linux --config=ci-linux-common
build:ci-linux-debug --config=ci-linux-common --config=ci-limit-storage
build:ci-linux-debug --config=debug --config=rust-debug

build:ci-linux-arm-debug --config=build:ci-linux-debug

build:ci-linux-asan --config=ci-linux-common --config=ci-limit-storage
# we're really struggling to fit asan build into worker disk size
# having asan without symbols is better than none
build:ci-linux-asan --config=asan --copt="-g0" --strip=always
build:ci-linux-arm-asan --config=ci-linux-asan


# Unlike the bazel Unix toolchain the macOS toolchain sets "-O0 -DDEBUG" for fastbuild by
Expand Down

0 comments on commit 8c3907e

Please sign in to comment.