Skip to content

Commit

Permalink
Test setup with system deps in macOS workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhongRuoyu committed Apr 22, 2023
1 parent 45edfc1 commit fefc0ee
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,18 +30,26 @@ jobs:
-D OPENSSL_ROOT_DIR=/usr/local/opt/openssl/
SSL_INSTALL: openssl

- build: dependencies_SYSTEM
DEPENDENCIES_INSTALL: abseil cityhash lz4
DEPENDENCIES_CMAKE_OPTIONS: >-
-D WITH_SYSTEM_LZ4=ON
-D WITH_SYSTEM_ABSEIL=ON
-D WITH_SYSTEM_CITYHASH=ON
steps:
- uses: actions/checkout@v2

- name: Install dependencies
run: brew install cmake ${{matrix.SSL_INSTALL}}
run: brew install cmake ${{matrix.SSL_INSTALL}} ${{matrix.DEPENDENCIES_INSTALL}}

- name: Configure CMake
run: |
cmake \
-D CMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} \
-D BUILD_TESTS=ON \
${{matrix.SSL_CMAKE_OPTION}} \
${{matrix.DEPENDENCIES_CMAKE_OPTIONS}} \
-S ${{github.workspace}} \
-B ${{github.workspace}}/build
Expand Down

0 comments on commit fefc0ee

Please sign in to comment.