From 720e9e19706cd81c4ea3750687f8ceda693a7c1e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E8=89=AF?= <841369634@qq.com> Date: Fri, 8 Nov 2024 12:38:29 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=88=87=E6=8D=A2=E7=B3=BB?= =?UTF-8?q?=E7=BB=9F=E4=B8=BAARM=E7=9A=84=E8=84=9A=E6=9C=AC=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build-and-release.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/.github/workflows/build-and-release.yml b/.github/workflows/build-and-release.yml index 7cdbda1..c1f4b3b 100644 --- a/.github/workflows/build-and-release.yml +++ b/.github/workflows/build-and-release.yml @@ -38,6 +38,30 @@ jobs: echo "github.ref = ${{ github.ref }}"; echo "github.ref_name = ${{ github.ref_name }}"; + - name: "build native modules using another arch" + uses: uraimo/run-on-arch-action@v2.3.0 + with: + arch: aarch64 + distro: ubuntu20.04 + githubToken: ${{ github.token }} + dockerRunArgs: | + --volume "${PWD}:/build" + --volume "/home/runner:/home/runner" + install: | + apt-get update && apt-get install curl -y + curl -fsSL https://deb.nodesource.com/setup_16.x | bash - + apt-get install -y nodejs gcc g++ make + apt update && apt install python3 -y + corepack enable + run: | + uname -a +# chmod -R 777 /build +# cd /build +# pnpm config set store-dir /home/runner/.local/share/pnpm/store/v3 +# pnpm install +# cd icalingua +# pnpm build:electron install-app-deps + - name: "npm install -g lerna@6/yarn" run: | echo "======================================================================";