From 9e06dc188baaa2602bbb9b84210ff4fc273e3fd7 Mon Sep 17 00:00:00 2001 From: Michael Matloka Date: Mon, 9 Oct 2023 16:39:15 +0200 Subject: [PATCH] Use BuildJet ARM runners for ARM builds --- .github/workflows/build-hogql-parser.yml | 9 ++------- hogql_parser/pyproject.toml | 2 +- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build-hogql-parser.yml b/.github/workflows/build-hogql-parser.yml index 8f528a1cc5552e..d9ca388224a5a7 100644 --- a/.github/workflows/build-hogql-parser.yml +++ b/.github/workflows/build-hogql-parser.yml @@ -41,17 +41,12 @@ jobs: timeout-minutes: 120 # The Linux ARM builds are painfully slow strategy: matrix: - os: [ubuntu-22.04, macos-12] + # ARM emulation is reasonably fast on macOS, but insanely slow (20x longer) on Linux runners + os: [ubuntu-22.04, buildjet-2vcpu-ubuntu-2204-arm, macos-12] steps: - uses: actions/checkout@v4 - - name: Set up QEMU for Linux ARM builds - if: runner.os == 'Linux' - uses: docker/setup-qemu-action@v3 - with: - platforms: linux/arm64 - - uses: actions/setup-python@v3 - name: Build sdist diff --git a/hogql_parser/pyproject.toml b/hogql_parser/pyproject.toml index f117d1d0a7206b..cc52b7138d0e62 100644 --- a/hogql_parser/pyproject.toml +++ b/hogql_parser/pyproject.toml @@ -34,6 +34,6 @@ before-all = [ "cp out/usr/local/lib64/libantlr4-runtime.so* /usr/lib64/", "ldconfig", ] -archs = ["x86_64", "aarch64"] +archs = ["auto"] # We run x86_64 and aarch64 as separate CI jobs, so not specifying both here manylinux-x86_64-image = "manylinux_2_28" manylinux-aarch64-image = "manylinux_2_28"