2020-11-15 20:54:48 +00:00
|
|
|
name: macos
|
|
|
|
|
|
|
|
on: [push, pull_request]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: ${{matrix.config.os}}
|
|
|
|
strategy:
|
|
|
|
fail-fast: false
|
|
|
|
matrix:
|
|
|
|
config:
|
2021-06-21 17:49:09 +00:00
|
|
|
- { os: macos-10.15 }
|
|
|
|
- { os: macos-11.0 }
|
2020-11-15 20:54:48 +00:00
|
|
|
build: [Debug, Release]
|
|
|
|
|
2021-04-02 21:00:23 +00:00
|
|
|
name: "${{matrix.config.os}}:${{matrix.build}}"
|
2020-11-15 20:54:48 +00:00
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
|
|
|
|
- name: Configure CMake
|
|
|
|
run: cmake -DCMAKE_BUILD_TYPE=${{matrix.build}}
|
|
|
|
|
|
|
|
- name: Build
|
|
|
|
run: cmake --build . --config ${{matrix.build}}
|
|
|
|
|
|
|
|
- name: Tests
|
|
|
|
run: ctest --output-on-failure -C ${{matrix.build}}
|