1
0
mirror of https://github.com/nlohmann/json synced 2024-12-02 08:20:11 +00:00
nlohmannjson/.github/workflows/macos.yml

18 lines
355 B
YAML
Raw Normal View History

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