小调整 5

王良 2024-11-08 13:02:19 +08:00
parent b568a02c7a
commit b7b4442ed9
1 changed files with 12 additions and 13 deletions

View File

@ -38,19 +38,18 @@ 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 "/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
# corepack enable
- 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 "/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
# run: |
# uname -a
# chmod -R 777 /build