Skip to content

Commit 924f032

Browse files
committed
ci: Run on ARM runners in addition to x64
1 parent cefc965 commit 924f032

2 files changed

Lines changed: 9 additions & 3 deletions

File tree

.github/workflows/build-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
if: ${{ fromJson(needs.gen-matrix.outputs.matrix) }}
5252
needs: gen-matrix
5353
name: build
54-
runs-on: ubuntu-latest
54+
runs-on: ${{ matrix.os }}
5555
timeout-minutes: 60
5656
strategy:
5757
fail-fast: false

genMatrix.js

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,16 @@ const getDockerfileMatrixEntry = (file) => {
6060

6161
const version = getFullNodeVersionFromDockerfile(file);
6262

63-
return {
63+
return [{
6464
version,
6565
variant,
66-
};
66+
os: 'ubuntu-24.04'
67+
},
68+
{
69+
version,
70+
variant,
71+
os: 'ubuntu-24.04-arm64'
72+
}];
6773
};
6874

6975
const generateBuildMatrix = (filesAdded, filesModified, filesRenamed) => {

0 commit comments

Comments
 (0)