Skip to content

Commit d6e5696

Browse files
committed
add arm to linux runner
1 parent 4566275 commit d6e5696

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/prebuild.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,11 @@ jobs:
5252
matrix:
5353
node: [21]
5454
canvas_tag: ["v3.1.0"] # e.g. "v2.6.1"
55+
os: ["ubuntu-latest", "ubuntu-latest-arm"]
5556
name: ${{ matrix.canvas_tag }}, Node.js ${{ matrix.node }}, Linux
56-
runs-on: ubuntu-latest
57+
runs-on: matrix.os
5758
container:
58-
image: ${{ matrix.node < 18 && 'chearon/canvas-prebuilt:9' || 'zbbjornson/canvas-prebuilt:11' }}
59+
image: ${{ matrix.os == 'ubuntu-latest-arm' && 'chearon/canvas-prebuilt-arm:1' || 'zbbjornson/canvas-prebuilt:11' }}
5960
env:
6061
CANVAS_VERSION_TO_BUILD: ${{ matrix.canvas_tag }}
6162
steps:

0 commit comments

Comments
 (0)