diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2be3492..c39e543 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -110,7 +110,7 @@ jobs: - name: Package prebuild run: | - sudo apt install -y gcc-aarch64-linux-gnu g++-aarch64-linux-gnu + sudo apt update -y && sudo apt install -y gcc-aarch64-linux-gnu g++-aarch64-linux-gnu CC=aarch64-linux-gnu-gcc CXX=aarch64-linux-gnu-g++ npx node-pre-gyp --target_arch=arm64 configure build package build_aarch64_node_ge_18: @@ -135,7 +135,7 @@ jobs: - name: Package prebuild run: | - sudo apt install -y gcc-aarch64-linux-gnu g++-aarch64-linux-gnu + sudo apt update -y && sudo apt install -y gcc-aarch64-linux-gnu g++-aarch64-linux-gnu CC=aarch64-linux-gnu-gcc CXX=aarch64-linux-gnu-g++ npx node-pre-gyp --target_arch=arm64 configure build package build_musl_aarch64: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 050b2be..64a3d30 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -125,7 +125,7 @@ jobs: - name: Package prebuild run: | - sudo apt install -y gcc-aarch64-linux-gnu g++-aarch64-linux-gnu + sudo apt update -y && sudo apt install -y gcc-aarch64-linux-gnu g++-aarch64-linux-gnu CC=aarch64-linux-gnu-gcc CXX=aarch64-linux-gnu-g++ npx node-pre-gyp --target_arch=arm64 configure build package - name: Upload prebuild asset @@ -157,7 +157,7 @@ jobs: - name: Package prebuild run: | - sudo apt install -y gcc-aarch64-linux-gnu g++-aarch64-linux-gnu + sudo apt update -y && sudo apt install -y gcc-aarch64-linux-gnu g++-aarch64-linux-gnu CC=aarch64-linux-gnu-gcc CXX=aarch64-linux-gnu-g++ npx node-pre-gyp --target_arch=arm64 configure build package - name: Upload prebuild asset