Skip to content

Commit

Permalink
fix: Improve x86_64 package linking in GitHub workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
silviot committed Dec 7, 2024
1 parent 36eb771 commit 0ae9f17
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,20 @@ jobs:
if: matrix.arch == 'x86_64'
run: arch -x86_64 /usr/local/bin/brew install -v libadwaita

- name: Finalize x86_64 setup
- name: Verify and link x86_64 packages
if: matrix.arch == 'x86_64'
run: arch -x86_64 brew link --force pango cairo gdk-pixbuf gtk4 libadwaita
run: |
# Verify installations
arch -x86_64 /usr/local/bin/brew list pango
arch -x86_64 /usr/local/bin/brew list cairo
arch -x86_64 /usr/local/bin/brew list gdk-pixbuf
arch -x86_64 /usr/local/bin/brew list gtk4
arch -x86_64 /usr/local/bin/brew list libadwaita
# Link packages individually with error handling
for package in pango cairo gdk-pixbuf gtk4 libadwaita; do
arch -x86_64 /usr/local/bin/brew link --force $package || true
done
- name: Install ARM64 dependencies
if: matrix.arch == 'arm64'
Expand Down

0 comments on commit 0ae9f17

Please sign in to comment.