mirror of
https://github.com/borgbackup/borg.git
synced 2025-02-01 12:09:10 +00:00
github CI: set PKG_CONFIG_PATH again
strange: on macOS, the globally set PKG_CONFIG_PATH was overwritten, thus the borg build did not find openssl any more. setting it here locally again works around the issue.
This commit is contained in:
parent
dd8e5487e3
commit
96d36e32cb
1 changed files with 8 additions and 0 deletions
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
|
@ -117,10 +117,18 @@ jobs:
|
|||
python -m pip install --upgrade pip setuptools wheel
|
||||
pip install -r requirements.d/development.txt
|
||||
- name: Install borgbackup
|
||||
env:
|
||||
# we already have that in the global env, but something is broken and overwrites that.
|
||||
# so, set it here, again.
|
||||
PKG_CONFIG_PATH: "/usr/local/opt/openssl@1.1/lib/pkgconfig:$PKG_CONFIG_PATH"
|
||||
run: |
|
||||
# pip install -e .
|
||||
python setup.py -v develop
|
||||
- name: run pytest via tox
|
||||
env:
|
||||
# we already have that in the global env, but something is broken and overwrites that.
|
||||
# so, set it here, again.
|
||||
PKG_CONFIG_PATH: "/usr/local/opt/openssl@1.1/lib/pkgconfig:$PKG_CONFIG_PATH"
|
||||
run: |
|
||||
# do not use fakeroot, but run as root. avoids the dreaded EISDIR sporadic failures. see #2482.
|
||||
#sudo -E bash -c "tox -e py"
|
||||
|
|
Loading…
Reference in a new issue