File tree Expand file tree Collapse file tree 1 file changed +43
-0
lines changed
Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Build Windows EXEs
2+
3+ on :
4+ workflow_dispatch :
5+
6+ release :
7+ types : [published]
8+
9+ jobs :
10+ build :
11+
12+ runs-on : ubuntu-latest
13+
14+ steps :
15+ - name : Checkout the repo
16+ uses : actions/checkout@v4
17+
18+ - name : Grab the DLLs
19+ run : |
20+ oras login -u entropy512 -p "${{ secrets.GITHUB_TOKEN }}" ghcr.io
21+ oras pull -o pyinstaller_deps ghcr.io/entropy512/turbojpeg_libs:latest
22+
23+ - name : Run the build process with Docker
24+ uses : addnab/docker-run-action@v3
25+ with :
26+ image : batonogov/pyinstaller-windows:python-3.11.7
27+ options : -v ${{ github.workspace }}:/src/
28+ run : |
29+ pip install -r requirements.txt
30+ pyinstaller --clean -y --dist ./pyi_dist --workpath /tmp xphasetools.spec
31+ chown -R --reference=/src /src
32+ chmod g+w -R pyi_dist
33+
34+ - name : Zip the PyInstaller folder
35+ run : |
36+ ls -al
37+ cd pyi_dist
38+ zip xphasetools.zip xphasetools -r
39+
40+ - name : Release
41+ uses : softprops/action-gh-release@v2
42+ with :
43+ files : pyi_dist/xphasetools.zip
You can’t perform that action at this time.
0 commit comments