File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed
Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change 1+ name: Build Binaries
2+
3+ on:
4+ workflow_dispatch:
5+
6+ jobs:
7+ build:
8+ name: Building Binary on ${{ matrix.os }}
9+ runs-on: ${{ matrix.os }}
10+ strategy:
11+ matrix:
12+ os: [ubuntu-latest, macOS-latest, windows-latest]
13+ python-version: ["3.12"]
14+ steps:
15+ - uses: actions/checkout@v4
16+ - name: NetExec set up python on ${{ matrix.os }}
17+ uses: actions/setup-python@v5
18+ with:
19+ python-version: ${{ matrix.python-version }}
20+ - name: Build Native Binary
21+ run: |
22+ pip install pyinstaller pillow
23+ pip install .
24+ pyinstaller wddh.spec
25+ - name: Upload Windows Binary
26+ if: runner.os == 'windows'
27+ uses: actions/upload-artifact@v4
28+ with:
29+ name: wddh.exe
30+ path: dist/wddh.exe
31+ - name: Upload Nix/OSx Binary
32+ if: runner.os != 'windows'
33+ uses: actions/upload-artifact@v4
34+ with:
35+ name: nxc-${{ matrix.os }}
36+ path: dist/wddh
You can’t perform that action at this time.
0 commit comments