Build dev MacOS arm64 binary #6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build dev MacOS arm64 binary | |
on: | |
workflow_dispatch: | |
jobs: | |
build-dev-mac-arm64: | |
name: Build dev arm64 MacOS binary | |
runs-on: macos-14 | |
env: | |
BUILD_ARCH: arm64 | |
BUILD_LOGLEVEL: verbose | |
steps: | |
- uses: actions/checkout@v3 | |
- run: npm install --production --ignore-scripts | |
- run: npm install --production | |
working-directory: nexe | |
- run: node build | |
working-directory: nexe | |
- run: xz -9e --lzma2 nexe/parpar -c > parpar.xz | |
- uses: actions/upload-artifact@v3 | |
with: | |
path: ./parpar.xz | |
name: parpar-${{ github.ref_name }}-macos-arm64.xz | |
retention-days: 5 |