Skip to content

Merge pull request #67 from gridhead/renovate/cryptography-44.x #97

Merge pull request #67 from gridhead/renovate/cryptography-44.x

Merge pull request #67 from gridhead/renovate/cryptography-44.x #97

Workflow file for this run

---
name: Building the project binary for Microsoft Windows
on: [push]
jobs:
ci-make-mswn:
runs-on: windows-latest
strategy:
fail-fast: false
steps:
- name: Checkout the codebase in 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 of the project
run: python3 -m pip install --upgrade poetry pyinstaller
- name: Disable using virtual environments with Poetry
run: poetry config virtualenvs.create false
- name: Install the runtime dependencies of the project
run: python3 -m poetry install
- name: Build the project binary for Expedite Bridge
run: pyinstaller expedite/client/bridge/main.py --clean --onefile --name ed-bridge-$("$env:GITHUB_HASH".SubString(0, 8)) --windowed --icon assets/icon/expedite.ico
env:
GITHUB_HASH: ${{ github.sha }}
- name: Upload the project binaries for Expedite Bridge
uses: actions/upload-artifact@v4
with:
name: ed-bridge.mswn
path: dist/ed-bridge-*.exe
retention-days: 90
compression-level: 9
overwrite: true
- name: Build the project binary for Expedite Prompt
run: pyinstaller expedite/client/prompt/main.py --clean --onefile --name ed-prompt-$("$env:GITHUB_HASH".SubString(0, 8)) --icon assets/icon/expedite.ico
env:
GITHUB_HASH: ${{ github.sha }}
- name: Upload the project binaries for Expedite Prompt
uses: actions/upload-artifact@v4
with:
name: ed-prompt.mswn
path: dist/ed-prompt-*.exe
retention-days: 90
compression-level: 9
overwrite: true
- name: Build the project binary for Expedite Server
run: pyinstaller expedite/server/main.py --clean --onefile --name ed-server-$("$env:GITHUB_HASH".SubString(0, 8)) --icon assets/icon/expedite.ico
env:
GITHUB_HASH: ${{ github.sha }}
- name: Upload the project binaries for Expedite Server
uses: actions/upload-artifact@v4
with:
name: ed-server.mswn
path: dist/ed-server-*.exe
retention-days: 90
compression-level: 9
overwrite: true