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+ # Workflow that builds and tests the binary executable
2+ name : Build and Test Binary
3+
4+ # Run on pushes to main branch and all pull requests to ensure binary builds work correctly
5+ on :
6+ push :
7+ branches :
8+ - main
9+ pull_request :
10+
11+ # Cancel previous runs if a new commit is pushed
12+ concurrency :
13+ group : ${{ github.workflow }}-${{ (github.head_ref && github.ref) || github.run_id }}
14+ cancel-in-progress : true
15+
16+ jobs :
17+ build-and-test-binary :
18+ name : Build and test binary executable
19+ runs-on : ubuntu-latest
20+
21+ steps :
22+ - name : Checkout repository
23+ uses : actions/checkout@v4
24+ with :
25+ fetch-depth : 0
26+
27+ - name : Set up Python
28+ uses : actions/setup-python@v5
29+ with :
30+ python-version : 3.12
31+
32+ - name : Install uv
33+ uses : astral-sh/setup-uv@v3
34+ with :
35+ version : " latest"
36+
37+ - name : Install dependencies
38+ run : |
39+ uv sync --dev
40+
41+ - name : Build and test binary executable
42+ run : |
43+ ./build.sh --install-pyinstaller
You can’t perform that action at this time.
0 commit comments