Skip to content

Commit 5374b03

Browse files
committed
CI: Switch ARM64 from CircleCI to GitHub Actions
1 parent 327a6d2 commit 5374b03

File tree

3 files changed

+37
-107
lines changed

3 files changed

+37
-107
lines changed

.circleci/config.yml

Lines changed: 0 additions & 105 deletions
This file was deleted.

.cirrus.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
freebsd_instance:
2-
image_family: freebsd-14-0-snap
2+
image_family: freebsd-15-0-snap
33

44
task:
55
name: FreeBSD

.github/workflows/ci.yml

Lines changed: 36 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,10 @@ jobs:
99
contents: write
1010
name: ${{ matrix.platform }} - Node.js ${{ matrix.nodejs_version_major }} ${{ matrix.prebuild && '- prebuild' }}
1111
runs-on: ${{ matrix.os }}
12-
container: ${{ matrix.container }}
12+
container:
13+
image: ${{ matrix.container }}
14+
volumes:
15+
- /:/host
1316
strategy:
1417
fail-fast: false
1518
matrix:
@@ -46,6 +49,28 @@ jobs:
4649
container: node:22-alpine3.20
4750
nodejs_version_major: 22
4851
platform: linuxmusl-x64
52+
- os: ubuntu-24.04-arm
53+
container: arm64v8/rockylinux:8
54+
nodejs_arch: arm64
55+
nodejs_version: "^18.17.0"
56+
nodejs_version_major: 18
57+
platform: linux-arm64
58+
prebuild: true
59+
- os: ubuntu-24.04-arm
60+
container: arm64v8/rockylinux:8
61+
nodejs_arch: arm64
62+
nodejs_version: "^20.3.0"
63+
nodejs_version_major: 20
64+
platform: linux-arm64
65+
- os: ubuntu-24.04-arm
66+
container: node:18-alpine3.17
67+
nodejs_version_major: 18
68+
platform: linuxmusl-arm64
69+
prebuild: true
70+
- os: ubuntu-24.04-arm
71+
container: node:20-alpine3.18
72+
nodejs_version_major: 20
73+
platform: linuxmusl-arm64
4974
- os: macos-13
5075
nodejs_arch: x64
5176
nodejs_version: "^18.17.0"
@@ -122,6 +147,16 @@ jobs:
122147
nodejs_version_major: 22
123148
platform: win32-arm64
124149
steps:
150+
- name: Allow Linux musl containers on ARM64 runners # https://github.com/actions/runner/issues/801#issuecomment-2394425757
151+
if: matrix.platform == 'linuxmusl-arm64'
152+
shell: sh
153+
run: |
154+
apk add nodejs
155+
sed -i "s:ID=alpine:ID=NotpineForGHA:" /etc/os-release
156+
cd /host/home/runner/runners/*/externals/
157+
rm -rf node20/*
158+
mkdir node20/bin
159+
ln -s /usr/bin/node node20/bin/node
125160
- name: Dependencies (Rocky Linux glibc)
126161
if: contains(matrix.container, 'rockylinux')
127162
run: |

0 commit comments

Comments
 (0)