mirror of
https://github.com/harfbuzz/harfbuzz.git
synced 2025-04-06 05:55:06 +00:00
[ci] Try to fix pip install on macOS runner
Use setup-python action which which I think uses venv so pip install will not fail as now installing system-wide packages with pip is disallowed.
This commit is contained in:
parent
ba1f194a1d
commit
91f54d4bae
2 changed files with 10 additions and 1 deletions
4
.github/workflows/linux-ci.yml
vendored
4
.github/workflows/linux-ci.yml
vendored
|
@ -38,6 +38,10 @@ jobs:
|
|||
pkg-config \
|
||||
python3 \
|
||||
python3-setuptools
|
||||
- name: Setup Python
|
||||
uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0
|
||||
with:
|
||||
python-version: '3.x'
|
||||
- name: Install Python Dependencies
|
||||
run: sudo pip3 install -r .ci/requirements.txt --require-hashes
|
||||
- name: Setup Meson
|
||||
|
|
7
.github/workflows/macos-ci.yml
vendored
7
.github/workflows/macos-ci.yml
vendored
|
@ -34,11 +34,16 @@ jobs:
|
|||
meson \
|
||||
ninja \
|
||||
pkg-config
|
||||
- name: Setup Python
|
||||
uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0
|
||||
with:
|
||||
python-version: '3.x'
|
||||
- name: Install Python Dependencies
|
||||
run: pip3 install -r .ci/requirements.txt --require-hashes
|
||||
- name: Setup Meson
|
||||
env:
|
||||
PKG_CONFIG_PATH: "/usr/local/opt/icu4c/lib/pkgconfig:/usr/local/opt/libffi/lib/pkgconfig"
|
||||
run: |
|
||||
export PKG_CONFIG_PATH="/usr/local/opt/icu4c/lib/pkgconfig:/usr/local/opt/libffi/lib/pkgconfig"
|
||||
ccache --version
|
||||
meson setup build \
|
||||
-Dauto_features=enabled \
|
||||
|
|
Loading…
Add table
Reference in a new issue