Skip to content

Commit

Permalink
Use ARM64 runners for Github Action
Browse files Browse the repository at this point in the history
  • Loading branch information
FooBarWidget committed Sep 17, 2024
1 parent 5272cfa commit 3fe31a7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 21 deletions.
21 changes: 8 additions & 13 deletions .github/workflows/binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,25 +4,21 @@ env:
ENTERPRISE: 0

on:
push:
branches:
- 'stable-*'
- 'feature/*'
pull_request:
branches:
- 'stable-*'
- 'feature/*'
push: {}
pull_request: {}

jobs:
build_linux:
name: "Binary automation Linux-${{ matrix.arch }}"
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 }}
Expand All @@ -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
Expand Down
10 changes: 2 additions & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,8 @@ env:
COMPILE_CONCURRENCY: 4

on:
push:
branches:
- 'stable-*'
- 'feature/*'
pull_request:
branches:
- 'stable-*'
- 'feature/*'
push: {}
pull_request: {}

jobs:
cxx:
Expand Down

0 comments on commit 3fe31a7

Please sign in to comment.