Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions .github/workflows/ci.macos.arm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,18 +20,21 @@ jobs:
- name: Install Dependencies
shell: bash
run: |
brew install openssl gflags googletest gsasl
brew install openssl@3 gflags googletest gsasl

- name: Build
run: |
export OPENSSL_TOP=$(brew --prefix openssl@3)
export OPENSSL_VERSION=$(ls -1 $OPENSSL_TOP | grep -E '^[0-9]' | head -1)
export OPENSSL_DIR="$OPENSSL_TOP/$OPENSSL_VERSION"
cmake -B ${{github.workspace}}/build \
-D PHOTON_CXX_STANDARD=17 \
-D PHOTON_ENABLE_ECOSYSTEM=ON \
-D PHOTON_BUILD_TESTING=ON \
-D CMAKE_BUILD_TYPE=MinSizeRel \
-D PHOTON_ENABLE_SASL=ON \
-D PHOTON_ENABLE_LIBCURL=ON \
-D OPENSSL_ROOT_DIR=/opt/homebrew/Cellar/openssl@3/3.6.0
-D OPENSSL_ROOT_DIR=${OPENSSL_DIR}
cmake --build ${{github.workspace}}/build -j $(sysctl -n hw.logicalcpu)

- name: Test
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/ci.macos.x86_64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,18 +20,21 @@ jobs:
- name: Install Dependencies
shell: bash
run: |
brew install openssl gflags googletest gsasl
brew install openssl@3 gflags googletest gsasl nasm

- name: Build
run: |
export OPENSSL_TOP=$(brew --prefix openssl@3)
export OPENSSL_VERSION=$(ls -1 $OPENSSL_TOP | grep -E '^[0-9]' | head -1)
export OPENSSL_DIR="$OPENSSL_TOP/$OPENSSL_VERSION"
cmake -B ${{github.workspace}}/build \
-D PHOTON_CXX_STANDARD=17 \
-D PHOTON_ENABLE_ECOSYSTEM=ON \
-D PHOTON_BUILD_TESTING=ON \
-D CMAKE_BUILD_TYPE=MinSizeRel \
-D PHOTON_ENABLE_SASL=ON \
-D PHOTON_ENABLE_LIBCURL=ON \
-D OPENSSL_ROOT_DIR=/opt/homebrew/Cellar/openssl@3/3.6.0
-D OPENSSL_ROOT_DIR=${OPENSSL_DIR}
cmake --build ${{github.workspace}}/build -j $(sysctl -n hw.logicalcpu)

- name: Test
Expand Down
Loading