Fix openssl libssh2 pkg issue in CI

This commit is contained in:
Mingshen Sun 2021-01-01 14:13:39 -08:00
parent 598f89ff60
commit 156588bd93
No known key found for this signature in database
GPG key ID: 1F86BA2052FED3B4
2 changed files with 6 additions and 2 deletions

View file

@ -51,7 +51,9 @@ jobs:
run: bundle exec pod install run: bundle exec pod install
- name: Carthage - name: Carthage
if: steps.carthage-cache.outputs.cache-hit != 'true' if: steps.carthage-cache.outputs.cache-hit != 'true'
run: ./scripts/wcarthage bootstrap --platform iOS --no-use-binaries --cache-builds run: |
export PKG_CONFIG_PATH="/usr/local/opt/openssl/lib/pkgconfig:/usr/local/opt/libssh2/lib/pkgconfig/"
./scripts/wcarthage bootstrap --platform iOS --no-use-binaries --cache-builds
- name: GopenPGP - name: GopenPGP
if: steps.gopenpgp-cache.outputs.cache-hit != 'true' if: steps.gopenpgp-cache.outputs.cache-hit != 'true'
run: | run: |

View file

@ -45,7 +45,9 @@ jobs:
run: bundle exec pod install run: bundle exec pod install
- name: Carthage - name: Carthage
if: steps.carthage-cache.outputs.cache-hit != 'true' if: steps.carthage-cache.outputs.cache-hit != 'true'
run: ./scripts/wcarthage bootstrap --platform iOS --no-use-binaries --cache-builds run: |
export PKG_CONFIG_PATH="/usr/local/opt/openssl/lib/pkgconfig:/usr/local/opt/libssh2/lib/pkgconfig/"
./scripts/wcarthage bootstrap --platform iOS --no-use-binaries --cache-builds
- name: GopenPGP - name: GopenPGP
if: steps.gopenpgp-cache.outputs.cache-hit != 'true' if: steps.gopenpgp-cache.outputs.cache-hit != 'true'
run: | run: |