diff options
author | Azat Khuzhin <azat@libevent.org> | 2022-07-09 18:43:29 +0300 |
---|---|---|
committer | Azat Khuzhin <azat@libevent.org> | 2022-07-09 20:15:17 +0300 |
commit | a9441ed6465fbf5da5c01219d84def832240cd85 (patch) | |
tree | 60324bf7527f2971724b5a40b831ee911573b72d /.github | |
parent | 4954b27bc0f3a48e04a1856b5f4c28a1496dcb01 (diff) | |
download | libevent-a9441ed6465fbf5da5c01219d84def832240cd85.tar.gz |
ci: fix cmake build w/o OPENSSL_ROOT_DIR
cmake build rules does not have detection of OPENSSL_ROOT_DIR via brew,
so we cannot run such builds on CI.
Always set OPENSSL_ROOT_DIR for cmake.
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/macos.yml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 484616c5..de3290d0 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -54,6 +54,9 @@ jobs: run: | if [ "${{ matrix.EVENT_MATRIX }}" == "OPENSSL_1_1" ]; then export OPENSSL_ROOT_DIR=/usr/local/opt/openssl@1.1 + else + # NOTE: cmake does not support autodetection of OPENSSL_ROOT_DIR via brew + export OPENSSL_ROOT_DIR=/usr/local/opt/openssl fi if [ "${{ matrix.EVENT_MATRIX }}" == "DISABLE_OPENSSL" ]; then |