From 2ad1137c99c898758b0402c6f3be30217637602d Mon Sep 17 00:00:00 2001 From: chaos-zhu Date: Fri, 16 Aug 2024 11:56:33 +0800 Subject: [PATCH] =?UTF-8?q?:construction=5Fworker:=20=E7=9B=91=E6=8E=A7?= =?UTF-8?q?=E5=AE=A2=E6=88=B7=E7=AB=AF=E8=87=AA=E5=8A=A8=E5=8C=96=E6=9E=84?= =?UTF-8?q?=E5=BB=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/client-builder.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/client-builder.yml b/.github/workflows/client-builder.yml index a48a6b0..0c4798a 100644 --- a/.github/workflows/client-builder.yml +++ b/.github/workflows/client-builder.yml @@ -28,6 +28,15 @@ jobs: run: npm run pkglinux:x64 working-directory: client + - name: Install QEMU # 设置qemu 支持arm的虚拟环境 + run: sudo apt-get update && sudo apt-get install -y qemu qemu-user-static binfmt-support + + - name: Setup QEMU ARM64 + run: | + sudo update-binfmts --enable qemu-aarch64 + sudo cp /usr/bin/qemu-aarch64-static /usr/local/bin + uname -a + - name: Build for Linux arm64 run: npm run pkglinux:arm64 working-directory: client @@ -46,15 +55,6 @@ jobs: asset_name: easynode-client-x86 asset_content_type: application/octet-stream - - name: Install QEMU - run: sudo apt-get update && sudo apt-get install -y qemu qemu-user-static binfmt-support - - - name: Setup QEMU ARM64 - run: | - sudo update-binfmts --enable qemu-aarch64 - sudo cp /usr/bin/qemu-aarch64-static /usr/local/bin - uname -a - - name: Upload Linux ARM64 Binary to Release uses: actions/upload-release-asset@v1 env: