0
0
mirror of https://github.com/zeux/pugixml.git synced 2024-12-26 12:41:06 +08:00

Add unix-cmake test to GHA

To not inflate the build matrix too much, just use the default settings;
we mostly need this to test the CMake flow, not to test the actual code.
This commit is contained in:
Arseny Kapoulkine 2024-10-30 12:07:33 -07:00
parent 4d0043fb6c
commit 25b508056c

View File

@ -34,6 +34,22 @@ jobs:
make test defines=${{matrix.defines}} config=coverage -j2
bash <(curl -s https://codecov.io/bash) -f pugixml.cpp.gcov -X search -t ${{secrets.CODECOV_TOKEN}} -B ${{github.ref}}
unix-cmake:
strategy:
matrix:
os: [ubuntu, macos]
name: ${{matrix.os}} cmake
runs-on: ${{matrix.os}}-latest
steps:
- uses: actions/checkout@v1
- name: cmake configure
run: |
mkdir cmake && cd cmake
cmake .. -D PUGIXML_BUILD_TESTS=ON
- name: cmake test
run: |
make -C cmake -j2
windows:
runs-on: windows-latest
strategy: