Skip to content

v1.2.5

v1.2.5 #1104

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