From 8c3907eadb2789977a4601f04ba4820725d95b01 Mon Sep 17 00:00:00 2001 From: Dan Lapid Date: Fri, 17 Jan 2025 23:55:08 +0000 Subject: [PATCH] Add arm64 linux runner configurations --- .github/workflows/release.yml | 6 +++++- .github/workflows/test.yml | 1 + build/ci.bazelrc | 3 +++ 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0b3bcb6f6f6..2beedd57edc 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e078229a6d3..2c98e3dd620 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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 } ] diff --git a/build/ci.bazelrc b/build/ci.bazelrc index 33e57382769..8b26c66804b 100644 --- a/build/ci.bazelrc +++ b/build/ci.bazelrc @@ -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