From b153eb0a05a02f3c1fc67a4a59ad0f5ee10ba9bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dani=20Rodr=C3=ADguez?= Date: Thu, 25 Jul 2024 19:33:20 +0200 Subject: [PATCH] Use Brew version of Python3 to use GIR --- .github/workflows/macos.yaml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/macos.yaml b/.github/workflows/macos.yaml index b6c3b8c..df46667 100644 --- a/.github/workflows/macos.yaml +++ b/.github/workflows/macos.yaml @@ -5,12 +5,17 @@ on: name: macOS build jobs: macos: - name: "macos" - runs-on: macos-13 + strategy: + matrix: + os: [macos-13, macos-14] + name: "macOS (${{runner.arch }})" + runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v4 - name: Install dependencies - run: brew install meson gtk4 gtksourceview5 desktop-file-utils pygobject3 libadwaita adwaita-icon-theme gettext + run: brew install meson gtk4 gtksourceview5 desktop-file-utils pygobject3 libadwaita adwaita-icon-theme gettext imagemagick + - name: Fix PYTHONPATH for blueprint-compiler + run: echo "PYTHONPATH=$(brew --prefix)/lib/python3.12/site-packages:$PYTHONPATH" >> $GITHUB_ENV - name: Build macOS version run: build-aux/macos-build.sh devel - name: Build installer