diff --git a/.github/workflows/prebuild-test.yml b/.github/workflows/prebuild-test.yml index 7ac719b4..2c1de9e7 100644 --- a/.github/workflows/prebuild-test.yml +++ b/.github/workflows/prebuild-test.yml @@ -78,6 +78,19 @@ jobs: - if: matrix.os == 'macos-latest' && inputs.arm == true run: ${{ env.TEST_COMMAND }} --arch arm64 + prebuild-test-mac-arm64: + if: inputs.macos-latest == true && inputs.arm == true + name: Testing prebuild M1 macOS (arm64) + runs-on: macos-14 + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version: 16 + - run: python3 -m pip install setuptools + - run: npm install --ignore-scripts + - run: ${{ env.TEST_COMMAND }} + prebuild-test-alpine-linux: if: inputs.alpine == true name: Testing prebuild on Alpine-Linux (x64) diff --git a/.github/workflows/prebuild.yml b/.github/workflows/prebuild.yml index b5a39fce..cd771837 100644 --- a/.github/workflows/prebuild.yml +++ b/.github/workflows/prebuild.yml @@ -17,6 +17,7 @@ jobs: os: - ubuntu-20.04 - macos-latest + - macos-14 - windows-2019 name: Prebuild on ${{ matrix.os }} runs-on: ${{ matrix.os }} @@ -36,10 +37,6 @@ jobs: run: | ${{ env.NODE_BUILD_CMD }} --arch ia32 ${{ env.ELECTRON_BUILD_CMD }} --arch ia32 - - if: matrix.os == 'macos-latest' - run: | - ${{ env.NODE_BUILD_CMD }} --arch arm64 - ${{ env.ELECTRON_BUILD_CMD }} --arch arm64 prebuild-alpine-linux: name: Prebuild on Alpine-Linux (x64)