Skip to content

Commit 9fb9ef2

Browse files
committed
ci: add linux arm64 builds on GitHub Actions on ubuntu-24.04-arm images
1 parent cab120f commit 9fb9ef2

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

.github/workflows/push.yml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,11 +74,18 @@ jobs:
7474
- debug: false
7575
zts: false
7676
asan: false
77+
arch: X64
7778
- debug: true
7879
zts: true
7980
asan: true
80-
name: "LINUX_X64_${{ matrix.debug && 'DEBUG' || 'RELEASE' }}_${{ matrix.zts && 'ZTS' || 'NTS' }}${{ matrix.asan && '_ASAN' || '' }}"
81-
runs-on: ubuntu-24.04
81+
arch: X64
82+
- debug: true
83+
zts: true
84+
asan: false
85+
arch: ARM64
86+
87+
name: "LINUX_${{ matrix.arch }}_${{ matrix.debug && 'DEBUG' || 'RELEASE' }}_${{ matrix.zts && 'ZTS' || 'NTS' }}${{ matrix.asan && '_ASAN' || '' }}"
88+
runs-on: ubuntu-24.04${{ matrix.arch == 'ARM64' && '-arm' || '' }}
8289
timeout-minutes: 50
8390
steps:
8491
- name: git checkout
@@ -94,7 +101,7 @@ jobs:
94101
dpkg -l
95102
echo "::endgroup::"
96103
- name: Create MSSQL container
97-
if: ${{ !matrix.asan }}
104+
if: ${{ !matrix.asan && matrix.arch != 'ARM64' }}
98105
uses: ./.github/actions/setup-mssql
99106
- name: Setup Caddy server
100107
uses: ./.github/actions/setup-caddy
@@ -120,7 +127,7 @@ jobs:
120127
- name: make install
121128
uses: ./.github/actions/install-linux
122129
- name: Setup
123-
if: ${{ !matrix.asan }}
130+
if: ${{ !matrix.asan && matrix.arch != 'ARM64' }}
124131
uses: ./.github/actions/setup-x64
125132
- name: Test
126133
if: matrix.asan == false

0 commit comments

Comments
 (0)