mirror of
https://github.com/zeux/pugixml.git
synced 2024-12-25 20:14:10 +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:
parent
4d0043fb6c
commit
25b508056c
16
.github/workflows/build.yml
vendored
16
.github/workflows/build.yml
vendored
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user