Skip to content

Commit 0763484

Browse files
committed
OpenSSL on macOS as env
1 parent 489849a commit 0763484

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/ci.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -499,9 +499,6 @@ jobs:
499499
brew install openssl
500500
echo 'export PATH="/usr/local/opt/openssl@3/bin:$PATH"' >> /Users/runner/.bash_profile
501501
source ~/.bash_profile
502-
export LDFLAGS="-L/usr/local/opt/openssl@3/lib"
503-
export CPPFLAGS="-I/usr/local/opt/openssl@3/include"
504-
export PKG_CONFIG_PATH="/usr/local/opt/openssl@3/lib/pkgconfig"
505502
- name: Checkout
506503
uses: actions/[email protected]
507504
- name: "Build & Test"
@@ -514,6 +511,9 @@ jobs:
514511
BUILD_SHARED_LIBS: ${{ matrix.shared }}
515512
OPENSSL_ROOT_DIR: "/usr/local/opt/openssl@3"
516513
OPENSSL_LIBRARIES: "/usr/local/opt/openssl@3/lib"
514+
LDFLAGS: "-L/usr/local/opt/openssl@3/lib"
515+
CPPFLAGS: "-I/usr/local/opt/openssl@3/include"
516+
PKG_CONFIG_PATH: "/usr/local/opt/openssl@3/lib/pkgconfig"
517517
uses: ashutoshvarma/action-cmake-build@master
518518
with:
519519
build-dir: ${{ github.workspace }}/build

0 commit comments

Comments
 (0)