Also test the multi-header option

This commit is contained in:
Matthias Mailänder 2020-12-27 00:13:03 +01:00 committed by GitHub
parent dfedefb993
commit a3b542fea8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,3 +14,15 @@ jobs:
run: cmake --build build --parallel 10
- name: test
run: cd build ; ctest -j 10 --output-on-failure
build-multiple:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: cmake
run: cmake -S . -B build -D CMAKE_BUILD_TYPE=Debug -DJSON_BuildTests=On -DJSON_MultipleHeaders=ON
- name: build
run: cmake --build build --parallel 10
- name: test
run: cd build ; ctest -j 10 --output-on-failure