Skip to content

Commit c90c4f3

Browse files
committed
Also test arm runner for building docker image
1 parent 701d0f7 commit c90c4f3

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/test.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
jobs:
99
build:
1010
name: ${{ matrix.ruby_version }}-${{ matrix.ubuntu_version }}
11-
runs-on: ubuntu-latest
11+
runs-on: ${{ matrix.arch == 'arm64' && 'ubuntu-24.04-arm' || 'ubuntu-24.04' }}
1212
strategy:
1313
matrix:
1414
ubuntu_version:
@@ -19,13 +19,16 @@ jobs:
1919
- 3.1.6
2020
- 3.2.4
2121
- 3.3.3
22+
arch:
23+
- amd64
24+
- arm64
2225

2326
steps:
2427
- uses: actions/checkout@v4
2528

2629
- name: Build image
2730
run: |
28-
rake docker:build arch=amd64 ruby_version=${{ matrix.ruby_version }} ubuntu_version=${{ matrix.ubuntu_version }}
31+
rake docker:build arch=${{ matrix.arch }} ruby_version=${{ matrix.ruby_version }} ubuntu_version=${{ matrix.ubuntu_version }}
2932
3033
- name: Check image
3134
run: |

0 commit comments

Comments
 (0)