Skip to content

ci: add linux arm64 builds on GitHub Actions on ubuntu-24.04-arm images #25

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 11 additions & 4 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,18 @@ jobs:
- debug: false
zts: false
asan: false
arch: X64
- debug: true
zts: true
asan: true
name: "LINUX_X64_${{ matrix.debug && 'DEBUG' || 'RELEASE' }}_${{ matrix.zts && 'ZTS' || 'NTS' }}${{ matrix.asan && '_ASAN' || '' }}"
runs-on: ubuntu-24.04
arch: X64
- debug: true
zts: true
asan: false
arch: ARM64

name: "LINUX_${{ matrix.arch }}_${{ matrix.debug && 'DEBUG' || 'RELEASE' }}_${{ matrix.zts && 'ZTS' || 'NTS' }}${{ matrix.asan && '_ASAN' || '' }}"
runs-on: ubuntu-24.04${{ matrix.arch == 'ARM64' && '-arm' || '' }}
timeout-minutes: 50
steps:
- name: git checkout
Expand All @@ -94,7 +101,7 @@ jobs:
dpkg -l
echo "::endgroup::"
- name: Create MSSQL container
if: ${{ !matrix.asan }}
if: ${{ !matrix.asan && matrix.arch != 'ARM64' }}
uses: ./.github/actions/setup-mssql
- name: Setup Caddy server
uses: ./.github/actions/setup-caddy
Expand All @@ -120,7 +127,7 @@ jobs:
- name: make install
uses: ./.github/actions/install-linux
- name: Setup
if: ${{ !matrix.asan }}
if: ${{ !matrix.asan && matrix.arch != 'ARM64' }}
uses: ./.github/actions/setup-x64
- name: Test
if: matrix.asan == false
Expand Down
Loading