2020-05-12 18:30:11 +00:00
|
|
|
name: macOS
|
2019-09-02 19:35:53 +00:00
|
|
|
|
2020-05-18 12:01:54 +00:00
|
|
|
on: [push, pull_request]
|
2019-09-02 19:35:53 +00:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
|
2020-05-12 18:30:11 +00:00
|
|
|
runs-on: macos-latest
|
2020-05-12 18:26:17 +00:00
|
|
|
|
2019-09-02 19:35:53 +00:00
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v1
|
|
|
|
- name: cmake
|
2020-05-12 18:51:45 +00:00
|
|
|
run: cmake -S . -B build -D CMAKE_BUILD_TYPE=Debug
|
2019-09-02 20:15:11 +00:00
|
|
|
- name: build
|
2020-05-12 18:45:18 +00:00
|
|
|
run: cmake --build build --parallel 10
|
2019-09-02 20:15:11 +00:00
|
|
|
- name: test
|
|
|
|
run: cd build ; ctest -j 10
|