Build dev MacOS x64 binary #7
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 x64 binary | |
on: | |
workflow_dispatch: | |
jobs: | |
build-dev-mac-x64: | |
name: Build dev x64 MacOS binary | |
runs-on: macos-13 | |
env: | |
BUILD_ARCH: x64 | |
BUILD_LOGLEVEL: verbose | |
steps: | |
- uses: actions/checkout@v3 | |
- run: npm install --production --ignore-scripts | |
- run: npm install --production | |
working-directory: nexe | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.9' # 'pipes' removed in Python 3.13, 'rU' mode unsupported in 3.11 | |
- run: node build | |
working-directory: nexe | |
- run: nexe/parpar --version | |
- run: nexe/parpar -r1 -s1M -onexe/test.par2 nexe/parpar | |
- run: xz -9e --x86 --lzma2 nexe/parpar -c > parpar.xz | |
- uses: actions/upload-artifact@v3 | |
with: | |
path: ./parpar.xz | |
name: parpar-${{ github.ref_name }}-macos-x64.xz | |
retention-days: 5 |