-
Notifications
You must be signed in to change notification settings - Fork 2
38 lines (37 loc) · 1.2 KB
/
AppFwkUnitTestMac.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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