Skip to content

Commit 872148d

Browse files
committed
progress on ci
1 parent cef6625 commit 872148d

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,22 +15,26 @@ jobs:
1515
runs-on: macos-latest
1616
env:
1717
TARGET: x86_64-apple-darwin
18-
PKG_CONFIG_PATH: /opt/homebrew/lib/pkgconfig:/usr/local/lib/pkgconfig
18+
PKG_CONFIG_PATH: /usr/local/lib/pkgconfig:/opt/homebrew/lib/pkgconfig
1919
steps:
2020
- uses: actions/checkout@v6
2121
# install meson and nija with --break-system-packages
2222
- name: Install meson and ninja
2323
run: |
2424
python3 -m pip install --break-system-packages meson ninja
25-
- name: Install dependencies
25+
- name: Install Homebrew x86_64
26+
shell: bash
27+
run: |
28+
arch -x86_64 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" || true
29+
- name: Install dependencies (x86_64)
2630
shell: bash
2731
run: |
28-
arch -x86_64 brew install cairo pango fontconfig pkg-config lzo libffi zlib bzip2 graphite2 libpng freetype harfbuzz pixman pcre2
32+
arch -x86_64 /usr/local/bin/brew install cairo pango fontconfig pkg-config lzo libffi zlib bzip2 graphite2 libpng freetype harfbuzz pixman pcre2
2933
- name: Verify pango installation
3034
shell: bash
3135
run: |
32-
arch -x86_64 brew list pango
33-
arch -x86_64 pkg-config --list-all | grep pango
36+
arch -x86_64 /usr/local/bin/brew list pango
37+
arch -x86_64 /usr/local/bin/pkg-config --list-all | grep pango
3438
# install meson and nija with --break-system-packages
3539
- name: Install Rust toolchain
3640
uses: actions-rs/toolchain@v1

0 commit comments

Comments
 (0)