From 8667cfb261ada5d3dc23acd4d1cf190fe5c89a5d Mon Sep 17 00:00:00 2001 From: honjow Date: Tue, 14 May 2024 23:47:22 +0800 Subject: [PATCH] test build --- .github/workflows/integration-test.yaml | 4 ++++ .github/workflows/main.yaml | 7 ++++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/integration-test.yaml b/.github/workflows/integration-test.yaml index 41e3294..4bcfa99 100644 --- a/.github/workflows/integration-test.yaml +++ b/.github/workflows/integration-test.yaml @@ -37,6 +37,10 @@ jobs: - name: Install dependencies run: | pacman -Syu --noconfirm $(sed -n -e 's/^[[:space:]]*\(make\)\?depends\(_x86_64\)\? = \([[:alnum:][:punct:]]*\)[[:space:]]*$/\3/p' /home/build/${{ matrix.package }}/.SRCINFO) + - name: Mako + run: | + pacman -S --noconfirm python-pip + pip install mako --break-system-packages - name: Prepare sources shell: bash run: | diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 5c6152f..afc5433 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -4,6 +4,7 @@ on: push: branches: - main + - dev tags: '*' workflow_dispatch: @@ -42,6 +43,10 @@ jobs: - name: Install dependencies (mesa) run: | pacman -Syu --noconfirm $(sed -n -e 's/^[[:space:]]*\(make\)\?depends\(_x86_64\)\? = \([[:alnum:][:punct:]]*\)[[:space:]]*$/\3/p' /home/build/mesa/.SRCINFO) + - name: Mako + run: | + pacman -S --noconfirm python-pip + pip install mako --break-system-packages - name: Build mesa-chimeraos package id: build-mesa-package shell: bash @@ -78,7 +83,7 @@ jobs: make-release: if: | (github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')) || - (github.event_name == 'workflow_dispatch' && github.ref == 'refs/heads/main') + (github.event_name == 'workflow_dispatch' && github.ref == 'refs/heads/dev') runs-on: ubuntu-latest needs: [build-mesa] steps: