Skip to content

Commit

Permalink
Merge pull request #98 from Phosphorus-M/fix/macos-build
Browse files Browse the repository at this point in the history
ci: fix macos 14 pipeline and add macos 15
  • Loading branch information
danirod authored Dec 12, 2024
2 parents 96acc80 + bf5afc8 commit ebf9a72
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/nightly.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ on:
push:
branches:
- trunk
- 'fix/*'
- 'release/*'
name: Nightly build
jobs:
Expand Down Expand Up @@ -88,13 +89,14 @@ jobs:
macos:
strategy:
matrix:
os: [macos-13, macos-14]
os: [macos-13, macos-14, macos-15]
fail-fast: false
name: "macOS (${{ matrix.os }})"
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 shared-mime-info
run: brew unlink pkg-config && brew install pkg-config meson gtk4 gtksourceview5 desktop-file-utils pygobject3 libadwaita adwaita-icon-theme gettext shared-mime-info && brew link pkgconf
- name: Fix PYTHONPATH for blueprint-compiler
run: echo "PYTHONPATH=$(brew --prefix)/lib/python3.12/site-packages:$PYTHONPATH" >> $GITHUB_ENV
- name: Build macOS version
Expand All @@ -104,7 +106,7 @@ jobs:
- uses: actions/upload-artifact@v4
name: Upload macOS version
with:
name: es.danirod.Cartero-${{ runner.os }}-${{ runner.arch }}
name: es.danirod.Cartero-${{ matrix.os }}-${{ runner.arch }}
path: build/Cartero-*.dmg
appimage:
name: "AppImage (GNU/Linux, glibc 2.38+)"
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/stable.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,13 +87,14 @@ jobs:
macos:
strategy:
matrix:
os: [macos-13, macos-14]
os: [macos-13, macos-14, macos-15]
fail-fast: false
name: "macOS (${{ matrix.os }})"
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 shared-mime-info
run: brew unlink pkg-config && brew install pkg-config meson gtk4 gtksourceview5 desktop-file-utils pygobject3 libadwaita adwaita-icon-theme gettext shared-mime-info && brew link pkgconf
- name: Fix PYTHONPATH for blueprint-compiler
run: echo "PYTHONPATH=$(brew --prefix)/lib/python3.12/site-packages:$PYTHONPATH" >> $GITHUB_ENV
- name: Build macOS version
Expand All @@ -103,7 +104,7 @@ jobs:
- uses: actions/upload-artifact@v4
name: Upload macOS version
with:
name: es.danirod.Cartero-${{ runner.os }}-${{ runner.arch }}
name: es.danirod.Cartero-${{ matrix.os }}-${{ runner.arch }}
path: build/Cartero-*.dmg
appimage:
name: "AppImage (GNU/Linux, glibc 2.38+)"
Expand Down

0 comments on commit ebf9a72

Please sign in to comment.