Merge pull request #154 from nasa-jpl/prestonr-add-el2798-el5042-el2828 #27
This file contains hidden or 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: test | |
| on: | |
| push: | |
| paths: | |
| - "src/**" | |
| - "test/**" | |
| workflow_dispatch: | |
| jobs: | |
| test: | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: Bacondish2023/setup-googletest@v1 | |
| with: | |
| tag: release-1.11.0 | |
| - uses: ConorMacBride/install-package@v1 | |
| with: | |
| apt: gcc-11 g++-11 libreadline-dev libyaml-cpp-dev valgrind | |
| version: latest | |
| platform: x64 | |
| - run: | | |
| pip install cogapp pyyaml | |
| - run: | | |
| mkdir -p build | |
| cd build | |
| cmake -DBUILD_JSD_TESTS=ON -DCMAKE_BUILD_TYPE=Debug .. | |
| make | |
| make test | |
| env CTEST_OUTPUT_ON_FAILURE=1 make -d memcheck | |
| env: | |
| CC: gcc-11 | |
| CXX: g++-11 |