linux/doxygen: use gcc/g++ 14 #324
Workflow file for this run
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: linux | |
| on: | |
| push: | |
| pull_request: | |
| branches: [ main ] | |
| jobs: | |
| build-and-test: | |
| name: Build and test ${{matrix.build-type}} mode | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| build-type: [Debug, Release] | |
| steps: | |
| - name: Clone recursively | |
| uses: actions/checkout@v4 | |
| with: | |
| submodules: recursive | |
| - name: Install Valgrind, gcc-14, g++-14 | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y valgrind gcc-14, g++-14 | |
| - name: Configure | |
| run: CC=gcc-14 CXX=g++-14 cmake -S ${{github.workspace}} -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{matrix.build-type}} -DBUILD_TESTING=ON | |
| - name: Build | |
| run: cmake --build ${{github.workspace}}/build -v | |
| - name: Test with Valgrind | |
| run: valgrind --error-exitcode=1 --leak-check=full ${{github.workspace}}/build/bin/fe-test |