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