diff options
Diffstat (limited to '.github/workflows/macos.yml')
-rw-r--r-- | .github/workflows/macos.yml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index a7e566e..29b8bbe 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -23,10 +23,12 @@ jobs: profile: minimal toolchain: nightly override: true + - name: Export OpenSSL environment variables + run: | + echo "::set-env name=OPENSSL_INCLUDE_DIR::$(brew --prefix openssl)/include" + echo "::set-env name=OPENSSL_LIB_DIR::$(brew --prefix openssl)/lib" - name: Build and test run: | - export OPENSSL_INCLUDE_DIR=`brew --prefix openssl`/include - export OPENSSL_LIB_DIR=`brew --prefix openssl`/lib rustc -V cargo -V cargo build |