[Misc] Migrate from Poetry to PDM, continue rework of build scripts #191
Workflow file for this run
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
name: Build & Test | |
on: push | |
jobs: | |
BuildExe: | |
runs-on: windows-latest | |
steps: | |
- uses: pdm-project/setup-pdm@v4 | |
with: | |
python-version: 3.13 | |
cache: true | |
- name: Install Just | |
run: choco install just | |
- uses: actions/checkout@v4 | |
- run: just prepare | |
- run: just --evaluate | |
- run: just bump_version_git build win32_portable | |
- name: Upload portable | |
uses: actions/upload-artifact@v4 | |
with: | |
name: openfreebuds_win32 | |
path: .\dist\* | |
if-no-files-found: error | |
TestAndBuildDebian: | |
runs-on: ubuntu-24.04 | |
steps: | |
- uses: pdm-project/setup-pdm@v4 | |
with: | |
python-version: 3.13 | |
cache: true | |
- name: Install Just | |
run: curl -s https://just.systems/install.sh | sudo bash -s -- --to /usr/local/bin | |
- uses: actions/checkout@v4 | |
- run: just deps_debian prepare | |
- run: just --evaluate | |
- run: just test | |
- run: just bump_version_git build debian | |
- name: Upload bundle | |
uses: actions/upload-artifact@v4 | |
with: | |
name: openfreebuds_debian | |
path: ./dist/* | |
if-no-files-found: error |