Skip to content

Commit 4fe4f36

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

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/test.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ on:
77

88
jobs:
99
build:
10-
name: ${{ matrix.ruby_version }}-${{ matrix.ubuntu_version }}
11-
runs-on: ubuntu-latest
10+
name: ${{ matrix.ruby_version }}-${{ matrix.ubuntu_version }} ${{ matrix.arch }}
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)