Add boost regex as a CMake dependency #1103
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: Build with Unit Tests MacOS | |
on: [push, pull_request] | |
jobs: | |
caffa-x64: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [macos-13] | |
include: | |
- os: macos-13 | |
triplet: x64-osx | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
with: | |
submodules: recursive | |
- name: Install boost | |
uses: MarkusJx/install-boost@v2.4.4 | |
id: install-boost | |
with: | |
boost_version: 1.83.0 | |
toolset: clang | |
- name: Build Caffa with Unit Tests | |
uses: lukka/run-cmake@v3 | |
with: | |
cmakeListsOrSettingsJson: CMakeListsTxtAdvanced | |
cmakeListsTxtPath: '${{ github.workspace }}/CMakeLists.txt' | |
cmakeAppendedArgs: '-DCAFFA_REST_INTERFACE=OFF -DCAFFA_BUILD_UNIT_TESTS=ON -DBOOST_ROOT=${{ steps.install-boost.outputs.BOOST_ROOT }}' | |
buildDirectory: ${{ github.workspace }}/cmakebuild | |
buildWithCMakeArgs: '--config Release' | |
- name: Run Unit Tests MacOS | |
shell: bash | |
run: | | |
cmakebuild/bin/caffaCore_UnitTests | |
cmakebuild/bin/caffaIoCore_UnitTests | |
cmakebuild/bin/caffaProjectDataModel_UnitTests |