Skip to content

Commit

Permalink
Don’t mess with Voodoo
Browse files Browse the repository at this point in the history
  • Loading branch information
COM8 committed May 20, 2024
1 parent 913b54e commit 70a3e22
Showing 1 changed file with 2 additions and 36 deletions.
38 changes: 2 additions & 36 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
brew install openssl
echo 'export PATH="/usr/local/opt/openssl/bin:$PATH"' >> /Users/runner/.bash_profile
source ~/.bash_profile
ls -l /usr/local/opt
brew info openssl
- name: Checkout
uses: actions/checkout@v3
- name: "Build & Test"
Expand All @@ -36,38 +36,4 @@ jobs:
cxx: clang++
build-type: Release
run-test: true
ctest-options: ${{ env.CTEST_OPTIONS }}

macos-clang-openssl-boost:
runs-on: macos-latest
steps:
- name: Install Boost
run: brew install boost
- name: Install OpenSSL
run: |
brew install openssl
echo 'export PATH="/usr/local/opt/openssl/bin:$PATH"' >> /Users/runner/.bash_profile
source ~/.bash_profile
ls -l /usr/local/opt
- name: Checkout
uses: actions/checkout@v3
- name: "Build & Test"
env:
CPR_BUILD_TESTS: ON
CPR_BUILD_TESTS_SSL: ON
CPR_USE_BOOST_FILESYSTEM: ON
CPR_FORCE_OPENSSL_BACKEND: ON
OPENSSL_ROOT_DIR: "/usr/local/opt/openssl"
OPENSSL_LIBRARIES: "/usr/local/opt/openssl/lib"
LDFLAGS: "-L/usr/local/opt/openssl/lib"
CPPFLAGS: "-I/usr/local/opt/openssl/include"
PKG_CONFIG_PATH: "/usr/local/opt/openssl/lib/pkgconfig"
uses: ashutoshvarma/action-cmake-build@master
with:
build-dir: ${{ github.workspace }}/build
source-dir: ${{ github.workspace }}
cc: clang
cxx: clang++
build-type: Release
run-test: true
ctest-options: ${{ env.CTEST_OPTIONS }}
ctest-options: ${{ env.CTEST_OPTIONS }}

0 comments on commit 70a3e22

Please sign in to comment.