Skip to content

Commit

Permalink
Merge pull request #24 from gridhead/exec
Browse files Browse the repository at this point in the history
Setup workflows for continuous integration of project codebase
  • Loading branch information
gridhead authored Jul 22, 2024
2 parents 8eb081f + 15a8d85 commit 36fdb1e
Show file tree
Hide file tree
Showing 10 changed files with 1,607 additions and 18 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/main.yml
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/*"
Binary file added assets/font/sans-bdit.ttf
Binary file not shown.
Binary file added assets/font/sans-bold.ttf
Binary file not shown.
Binary file added assets/font/sans-rlar.ttf
Binary file not shown.
Binary file added assets/font/sans-rlit.ttf
Binary file not shown.
Binary file added assets/icon/expedite.ico
Binary file not shown.
11 changes: 11 additions & 0 deletions assets/main.qrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<RCC>
<qresource prefix="font">
<file>font/sans-bdit.ttf</file>
<file>font/sans-bold.ttf</file>
<file>font/sans-rlar.ttf</file>
<file>font/sans-rlit.ttf</file>
</qresource>
<qresource prefix="icon">
<file>icon/expedite.ico</file>
</qresource>
</RCC>
Loading

0 comments on commit 36fdb1e

Please sign in to comment.