-
Notifications
You must be signed in to change notification settings - Fork 22
34 lines (33 loc) · 1.15 KB
/
build-dev-win64.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: Build dev Win64 binary
on:
workflow_dispatch:
jobs:
build-dev-win64:
name: Build dev x64 Windows binary
runs-on: windows-2019
env:
BUILD_ARCH: x64
BUILD_LOGLEVEL: verbose
steps:
- uses: ilammy/setup-nasm@v1
- uses: MatteoH2O1999/setup-python@v1
id: py
with:
python-version: '2.7'
- uses: actions/checkout@v3
- run: npm install --production --ignore-scripts
- run: npm install --production
working-directory: nexe
# diagnose weird execution failure
- run: "C:\Program Files\Git\usr\bin\sed" -i "s/child_process_1\.spawn/this.log.step('Executing ' + command + ' ' + args); \0/" node_modules/nexe/lib/compiler.js
working-directory: nexe
- run: node build
working-directory: nexe
- run: nexe\parpar.exe --version
- run: nexe\parpar.exe -r1 -s1M -o nexe\test.par2 nexe\parpar.exe
- run: move nexe\parpar.exe parpar.exe && 7z a -t7z -mx=9 parpar.7z parpar.exe
- uses: actions/upload-artifact@v3
with:
path: ./parpar.7z
name: parpar-${{ github.ref_name }}-win64.7z
retention-days: 5