From bdbce59995405a44de806c611179c47968f0f737 Mon Sep 17 00:00:00 2001 From: Hans Date: Wed, 8 May 2024 03:46:59 +0800 Subject: [PATCH] fix: fix Linux ARM64 build --- .github/workflows/release.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0e075f6..3a5544a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -51,7 +51,8 @@ jobs: - name: Prepare & build (Linux arm64) if: runner.os == 'Linux' run: | - docker run --rm --volume $(pwd):/app --workdir /app -t arm64v8/ubuntu /bin/bash -c "./scripts/prepare-linux.sh && ./scripts/build-linux.sh" + docker run --rm --privileged multiarch/qemu-user-static --reset -p yes + docker run --rm --volume $(pwd):/app --workdir /app -t arm64v8/ubuntu bash -c "./scripts/prepare-linux.sh && ./scripts/build-linux.sh" - name: Build (macOS) if: runner.os == 'macOS' run: bash ./scripts/build-macos.sh