Skip to content

[Misc] Migrate from Poetry to PDM, continue rework of build scripts #190

[Misc] Migrate from Poetry to PDM, continue rework of build scripts

[Misc] Migrate from Poetry to PDM, continue rework of build scripts #190

Workflow file for this run

name: Build & Test
on: push
jobs:
BuildExe:
runs-on: windows-latest
steps:
- uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Install PDM
run: powershell -ExecutionPolicy ByPass -c "irm https://pdm-project.org/install-pdm.py | python -"
- 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: actions/setup-python@v5
with:
python-version: '3.12'
- name: Install PDM
run: curl -sSL https://pdm-project.org/install-pdm.py | python3 -
- 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