-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add workflow for building binaries for Windows
Signed-off-by: Akashdeep Dhar <akashdeep.dhar@gmail.com>
- Loading branch information
Showing
1 changed file
with
30 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
--- | ||
name: "expedite" | ||
on: ["push"] | ||
jobs: | ||
ci-build: | ||
runs-on: "windows-latest" | ||
strategy: | ||
fail-fast: false | ||
|
||
steps: | ||
- name: "Checkout the codebase to a local working directory" | ||
uses: "actions/checkout@v4" | ||
|
||
- name: "Setup a functioning local Python 3 installation" | ||
uses: "actions/setup-python@v5" | ||
with: | ||
python-version: "3.12" | ||
|
||
- name: "Install the base dependencies" | ||
run: "python3 -m pip3 install --upgrade poetry pyinstaller" | ||
|
||
- name: "Install the project dependencies" | ||
run: "python3 -m poetry install" | ||
|
||
- name: "Build the project binary" | ||
run: "python3 -m pyinstaller expedite\client\bridge\main.py --clean --onefile --name 'ed-bridge-${{ github.sha }}' --windowed --icon assets\icon\expedite.ico" | ||
|
||
- uses: "actions/upload-artifact@v4" | ||
with: | ||
path: "dist/*" |