XPath, descendants, and a splash of Sentry #19
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: gtest | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
gtest: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Make build directory | |
run: mkdir gtest-build | |
- name: CMake | |
run: cd gtest-build && cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE-CXX_FLAGS=-Werror .. | |
- name: Download Coverity Scan | |
run: curl https://scan.coverity.com/download/linux64 -d token=6Uqw2igbwL4oGX5kyFHjDg&project=dwd%2Frapidxml -o coverity.tar.gz | |
- name: Unpack Coverity | |
run: mkdir coverity && cd coverity && tar xf ../coverity.tar.gz | |
- name: Make | |
run: cd gtest-build && ../coverity/cov-build --dir cov-int make | |
- name: Run Tests | |
run: cd gtest-build && ./rapidxml-test | |
- name: Tar up Coverity output | |
run: cd gtest-build && tar czf ../cov-build-output.tar.gz cov-int | |
- name: Upload it | |
run: | | |
curl --form token=${{ secrets.COVERITY_TOKEN }} \ | |
--form [email protected] \ | |
--form [email protected] \ | |
--form version="vX" \ | |
--form description="RapidXML (Dave's Version)" \ | |
https://scan.coverity.com/builds?project=dwd%2Frapidxml |