Skip to content

Commit

Permalink
ci: switch back QEMU + arm64v8/ubuntu
Browse files Browse the repository at this point in the history
  • Loading branch information
hans00 committed Nov 18, 2024
1 parent 52a9822 commit 55b3f9f
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@ jobs:
- uses: actions/checkout@v4
with:
submodules: 'true'
- name: Setup QEMU
if: runner.os == 'Linux'
uses: docker/setup-qemu-action@v3
with:
platforms: linux/arm64
- uses: actions/[email protected]
with:
node-version: 20
Expand Down Expand Up @@ -52,9 +57,10 @@ jobs:
if: runner.os == 'Linux'
run: |
docker run --rm \
-v $(pwd):/work \
-e ARCH=arm64 \
dockcross/linux-arm64:latest \
-v $(pwd):/${{ github.workspace }} \
-w /${{ github.workspace }} \
--platform linux/arm64 \
arm64v8/ubuntu:latest \
bash -c "./scripts/prepare-linux.sh && ./scripts/build-linux.sh"
- name: Build (macOS)
if: runner.os == 'macOS'
Expand Down

0 comments on commit 55b3f9f

Please sign in to comment.