Skip to content

Commit 0dbc62e

Browse files
committed
fix(ci): use macos-15-intel for x86_64 and configure pkg-config for chafa
1 parent 057e3b0 commit 0dbc62e

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
target: aarch64-unknown-linux-gnu
2020
- os: macos-latest
2121
target: aarch64-apple-darwin
22-
- os: macos-latest
22+
- os: macos-15-intel
2323
target: x86_64-apple-darwin
2424
- os: windows-latest
2525
target: x86_64-pc-windows-msvc
@@ -47,9 +47,10 @@ jobs:
4747
- name: Install macOS dependencies
4848
if: runner.os == 'macOS'
4949
run: |
50-
brew install llvm chafa
50+
brew install llvm chafa pkg-config
5151
echo "CC=$(brew --prefix llvm)/bin/clang" >> $GITHUB_ENV
5252
echo "CXX=$(brew --prefix llvm)/bin/clang++" >> $GITHUB_ENV
53+
echo "PKG_CONFIG_PATH=$(brew --prefix chafa)/lib/pkgconfig:$(brew --prefix)/lib/pkgconfig:${PKG_CONFIG_PATH:-}" >> $GITHUB_ENV
5354
5455
- run: cargo test --release --target ${{ matrix.target }}
5556

0 commit comments

Comments
 (0)