Skip to content

Commit

Permalink
c-cpp.yml: Install meson and ninja via brew not pip
Browse files Browse the repository at this point in the history
Fix CI error "This environment is externally managed
╰─> To install Python packages system-wide, try brew install
    xyz, where xyz is the package you are trying to
    install."
  • Loading branch information
andy5995 committed Oct 12, 2024
1 parent 950ad03 commit 85be108
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/c-cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,9 @@ jobs:
- if: ${{ contains(matrix.build.os, 'macos') }}
run: |
pip3 install meson ninja
brew update
brew install \
meson \
ninja \
ncurses \
pkg-config \
${{ matrix.build.install_packages }}
Expand Down

0 comments on commit 85be108

Please sign in to comment.