1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2025-03-09 13:53:09 +00:00

github CI: fix PKG_CONFIG_PATH for openssl 3.0

This commit is contained in:
Thomas Waldmann 2024-05-12 14:59:02 +02:00
parent 87aab31302
commit b9617928d4
No known key found for this signature in database
GPG key ID: 243ACFA951F78E01

View file

@ -65,7 +65,7 @@ jobs:
env: env:
# Configure pkg-config to use OpenSSL from Homebrew # Configure pkg-config to use OpenSSL from Homebrew
PKG_CONFIG_PATH: "/usr/local/opt/openssl@3.0/lib/pkgconfig:$PKG_CONFIG_PATH" PKG_CONFIG_PATH: "/opt/homebrew/opt/openssl@3.0/lib/pkgconfig:$PKG_CONFIG_PATH"
TOXENV: ${{ matrix.toxenv }} TOXENV: ${{ matrix.toxenv }}
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
@ -110,14 +110,14 @@ jobs:
env: env:
# we already have that in the global env, but something is broken and overwrites that. # we already have that in the global env, but something is broken and overwrites that.
# so, set it here, again. # so, set it here, again.
PKG_CONFIG_PATH: "/usr/local/opt/openssl@3.0/lib/pkgconfig:$PKG_CONFIG_PATH" PKG_CONFIG_PATH: "/opt/homebrew/opt/openssl@3.0/lib/pkgconfig:$PKG_CONFIG_PATH"
run: | run: |
pip install -ve . pip install -ve .
- name: run pytest via tox - name: run pytest via tox
env: env:
# we already have that in the global env, but something is broken and overwrites that. # we already have that in the global env, but something is broken and overwrites that.
# so, set it here, again. # so, set it here, again.
PKG_CONFIG_PATH: "/usr/local/opt/openssl@3.0/lib/pkgconfig:$PKG_CONFIG_PATH" PKG_CONFIG_PATH: "/opt/homebrew/opt/openssl@3.0/lib/pkgconfig:$PKG_CONFIG_PATH"
run: | run: |
# do not use fakeroot, but run as root. avoids the dreaded EISDIR sporadic failures. see #2482. # do not use fakeroot, but run as root. avoids the dreaded EISDIR sporadic failures. see #2482.
#sudo -E bash -c "tox -e py" #sudo -E bash -c "tox -e py"