Add mprotect for the top-end of photon stack #849
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: macOS | |
on: | |
push: | |
branches: [ "main", "release/*" ] | |
pull_request: | |
branches: [ "main", "release/*" ] | |
jobs: | |
macOS-12-Monterey-release: | |
runs-on: macos-12 | |
steps: | |
- uses: szenius/[email protected] | |
with: | |
timezoneLinux: "Asia/Shanghai" | |
timezoneMacos: "Asia/Shanghai" | |
timezoneWindows: "China Standard Time" | |
- uses: actions/checkout@v3 | |
- name: Install Dependencies | |
shell: bash | |
run: | | |
brew install cmake [email protected] gflags googletest gsasl | |
- name: Build | |
run: | | |
cmake -B ${{github.workspace}}/build -D PHOTON_BUILD_TESTING=ON -D CMAKE_BUILD_TYPE=Release \ | |
-D PHOTON_ENABLE_SASL=ON -D OPENSSL_ROOT_DIR=/usr/local/opt/[email protected] | |
cmake --build ${{github.workspace}}/build -j | |
- name: Test | |
working-directory: ${{github.workspace}}/build | |
run: ctest --timeout 3600 -V | |