Skip to content

Commit 15260fe

Browse files
rquastfspec
authored andcommitted
fix(ci): use native ARM64 Linux runner instead of Docker cross-compilation
The Docker cross-compilation was failing due to missing endian.h headers for tree-sitter. Using ubuntu-24.04-arm native runner instead.
1 parent c172824 commit 15260fe

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/build-codelet-napi.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,9 @@ jobs:
4141
# Linux x64
4242
- target: x86_64-unknown-linux-gnu
4343
os: ubuntu-latest
44-
# Linux ARM64 (cross-compile with Docker)
44+
# Linux ARM64 (native ARM64 runner)
4545
- target: aarch64-unknown-linux-gnu
46-
os: ubuntu-latest
47-
docker: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-debian-aarch64
46+
os: ubuntu-24.04-arm
4847
# Windows x64
4948
- target: x86_64-pc-windows-msvc
5049
os: windows-latest
@@ -122,6 +121,8 @@ jobs:
122121
target: x86_64-apple-darwin
123122
- os: ubuntu-latest
124123
target: x86_64-unknown-linux-gnu
124+
- os: ubuntu-24.04-arm
125+
target: aarch64-unknown-linux-gnu
125126
- os: windows-latest
126127
target: x86_64-pc-windows-msvc
127128

0 commit comments

Comments
 (0)