Skip to content

Commit

Permalink
Add unix-cmake test to GHA
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
zeux committed Oct 30, 2024
1 parent 4d0043f commit 25b5080
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 25b5080

Please sign in to comment.