From 3fe31a7d75f5ec34fd602b6b5951fdd6a40238cf Mon Sep 17 00:00:00 2001 From: Hongli Lai Date: Tue, 17 Sep 2024 17:03:09 +0200 Subject: [PATCH] Use ARM64 runners for Github Action --- .github/workflows/binaries.yml | 21 ++++++++------------- .github/workflows/main.yml | 10 ++-------- 2 files changed, 10 insertions(+), 21 deletions(-) diff --git a/.github/workflows/binaries.yml b/.github/workflows/binaries.yml index 8af3b2d84e..7ef2fda0ba 100644 --- a/.github/workflows/binaries.yml +++ b/.github/workflows/binaries.yml @@ -4,14 +4,8 @@ env: ENTERPRISE: 0 on: - push: - branches: - - 'stable-*' - - 'feature/*' - pull_request: - branches: - - 'stable-*' - - 'feature/*' + push: {} + pull_request: {} jobs: build_linux: @@ -19,10 +13,12 @@ jobs: strategy: fail-fast: false matrix: - arch: - - x86_64 - - aarch64 - runs-on: ubuntu-latest + include: + - arch: x86_64 + runner: ubuntu-24.04 + - arch: aarch64 + runner: passenger-ubuntu-24.04-arm64-2cpu + runs-on: ${{ matrix.runner }} env: WORKSPACE: ${{ github.workspace }} OUTPUT_DIR: ${{ github.workspace }}/output-linux-${{ matrix.arch }} @@ -33,7 +29,6 @@ jobs: - uses: actions/checkout@v4 with: submodules: true - - uses: docker/setup-qemu-action@v3 - uses: docker/setup-buildx-action@v3 - run: ./dev/ci/tests/binaries/build-linux - uses: actions/upload-artifact@v4 diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 8813b966a4..b52d0ae2d6 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -5,14 +5,8 @@ env: COMPILE_CONCURRENCY: 4 on: - push: - branches: - - 'stable-*' - - 'feature/*' - pull_request: - branches: - - 'stable-*' - - 'feature/*' + push: {} + pull_request: {} jobs: cxx: