update the logging submodule to remove warnings #90
Workflow file for this run
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: prime_server macos | |
on: [pull_request] | |
jobs: | |
build: | |
name: build and test | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
submodules: recursive | |
- name: dependencies | |
shell: bash | |
run: | | |
brew update | |
brew install pkg-config zeromq czmq | |
- name: build | |
shell: bash | |
run: | | |
xcrun --show-sdk-path | |
SDK_PATH=$(find /Library/Developer/CommandLineTools/SDKs/MacOSX*.sdk -type d -maxdepth 0 | tail -n 1) | |
echo ${SDK_PATH} | |
SDK_PATH=$(xcrun --show-sdk-path) | |
cmake . -DCMAKE_BUILD_TYPE=RelWithDebInfo -DENABLE_SANITIZERS=On -DCMAKE_OSX_SYSROOT=${SDK_PATH} && make all -j$(sysctl -n hw.ncpu) | |
- name: test | |
shell: bash | |
run: | | |
make test -j$(sysctl -n hw.ncpu) |