diff --git a/.github/workflows/build-and-release.yml b/.github/workflows/build-and-release.yml index cc0a46a..e697a08 100644 --- a/.github/workflows/build-and-release.yml +++ b/.github/workflows/build-and-release.yml @@ -1,4 +1,4 @@ -name: Build and Release App +name: Build and Release Yin-Yang on: push: @@ -36,10 +36,13 @@ jobs: path: ./.venv key: venv-${{ hashFiles('poetry.lock') }} # Install dependencies of cache does not exist - - name: Install dependencies - if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true' + - name: Install system dependencies run: | sudo apt install qt6-base-dev libsystemd-dev gcc + flatpak install org.kde.Sdk/x86_64/5.15-23.08 --noninteractive + - name: Install Poetry dependencies + if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true' + run: | poetry install --no-interaction # Compile and build Yin-Yang - name: Compile ui, translations and resources diff --git a/.github/workflows/python-ci.yml b/.github/workflows/python-ci.yml index 6c615b5..aed09b2 100644 --- a/.github/workflows/python-ci.yml +++ b/.github/workflows/python-ci.yml @@ -29,15 +29,21 @@ jobs: poetry config virtualenvs.create true --local poetry config virtualenvs.in-project true --local - name: Cache packages + id: cached-poetry-dependencies uses: actions/cache@v4 with: # This path is specific to ubuntu path: ./.venv key: venv-${{ hashFiles('poetry.lock') }} - - name: Install dependencies + # Install dependencies + - name: Install system dependencies run: | sudo apt install qt6-base-dev libsystemd-dev gcc - poetry install + - name: Install Poetry dependencies + if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true' + run: | + poetry install --no-interaction + # Build and test Yin-Yang - name: Compile ui, translations and resources run: poetry run ./scripts/build_ui.sh - name: Lint with flake8