From d7f6105ec537c60e3491004a6310b81f9cd58fa5 Mon Sep 17 00:00:00 2001 From: Hans Date: Mon, 18 Nov 2024 20:24:42 +0800 Subject: [PATCH] ci: change to use dockcross --- .github/workflows/release.yml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 43f15a2..bd4b8a8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,9 +15,6 @@ jobs: - uses: actions/checkout@v4 with: submodules: 'true' - - name: Set up QEMU - if: runner.os == 'Linux' - uses: docker/setup-qemu-action@v3 - uses: actions/setup-node@v4.0.2 with: node-version: 20 @@ -55,10 +52,8 @@ jobs: if: runner.os == 'Linux' run: | docker run --rm \ - --volume $(pwd):/app \ - --workdir /app \ - -t arm64v8/ubuntu \ - --platform linux/arm64 \ + -v $(pwd):/work \ + dockcross/linux-arm64:latest \ bash -c "./scripts/prepare-linux.sh && ./scripts/build-linux.sh" - name: Build (macOS) if: runner.os == 'macOS'