• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1name: amd64 MacOS CMake
2
3on:
4  push:
5  pull_request:
6  schedule:
7    # min hours day(month) month day(week)
8    - cron: '0 0 7,22 * *'
9
10jobs:
11  # Building using the github runner environement directly.
12  xcode:
13    runs-on: macos-latest
14    env:
15      CTEST_OUTPUT_ON_FAILURE: 1
16    steps:
17    - uses: actions/checkout@v2
18    - name: Check cmake
19      run: cmake --version
20    - name: Configure
21      run: cmake -S. -Bbuild -G "Xcode" -DCMAKE_CONFIGURATION_TYPES=Release
22    - name: Build
23      run: cmake --build build --config Release --target ALL_BUILD -v
24    - name: Test
25      run: cmake --build build --config Release --target RUN_TESTS -v
26    - name: Install
27      run: cmake --build build --config Release --target install -v
28  make:
29    runs-on: macos-latest
30    env:
31      CTEST_OUTPUT_ON_FAILURE: 1
32    steps:
33    - uses: actions/checkout@v2
34    - name: Check cmake
35      run: cmake --version
36    - name: Configure
37      run: cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=Release
38    - name: Build
39      run: cmake --build build --target all -v
40    - name: Test
41      run: cmake --build build --target test -v
42    - name: Install
43      run: cmake --build build --target install -v
44