mirror of
https://github.com/germondai/trawl.git
synced 2026-08-17 12:11:23 +02:00
fix(ci): use native arm64 runner and fix cross-platform native bindings
This commit is contained in:
@@ -12,9 +12,13 @@ jobs:
|
||||
publish:
|
||||
strategy:
|
||||
matrix:
|
||||
platform: [linux/amd64, linux/arm64]
|
||||
include:
|
||||
- platform: linux/amd64
|
||||
runner: ubuntu-latest
|
||||
- platform: linux/arm64
|
||||
runner: ubuntu-24.04-arm
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ${{ matrix.runner }}
|
||||
permissions:
|
||||
contents: read
|
||||
packages: write
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
# ── Stage 1: install workspace deps (runs natively on build host) ──────────────
|
||||
FROM --platform=$BUILDPLATFORM oven/bun:1.3.14 AS deps
|
||||
FROM oven/bun:1.3.14 AS deps
|
||||
WORKDIR /app
|
||||
|
||||
# nodejs/python3/make/g++ are needed to compile better-sqlite3 (camoufox-js dep)
|
||||
|
||||
Reference in New Issue
Block a user