Rename plot debug callback to debug info #272
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: CI Linux | |
| on: | |
| push: | |
| branches: [ main, master, dev ] | |
| pull_request: | |
| branches: [ main, master, dev ] | |
| defaults: | |
| run: | |
| shell: bash | |
| env: | |
| CMAKE_BUILD_TYPE: Release | |
| # Hosted Xvfb uses Mesa's CPU renderer. Bound its worker count to the job | |
| # memory limit and use its GL 3.3 rasterizer without selecting a QRhi API. | |
| GALLIUM_DRIVER: softpipe | |
| LP_NUM_THREADS: "1" | |
| LINUX_SYSTEM_DEPS: >- | |
| libgl-dev libx11-dev libxrandr-dev libxinerama-dev libxcursor-dev | |
| libxi-dev libxext-dev libwayland-dev libxkbcommon-dev libvulkan-dev | |
| xvfb xauth | |
| jobs: | |
| build-rhi: | |
| name: ${{ matrix.name }} | |
| runs-on: ubuntu-24.04 | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - name: QRhi (Linux) | |
| text: OFF | |
| benchmark: OFF | |
| examples: OFF | |
| - name: QRhi+Text (Linux) | |
| text: ON | |
| benchmark: ON | |
| examples: ON | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Install dependencies | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y ${LINUX_SYSTEM_DEPS} | |
| - name: Install Qt | |
| uses: jurplel/install-qt-action@v4.3.1 | |
| with: | |
| version: '6.10.1' | |
| arch: 'linux_gcc_64' | |
| archives: 'icu qtbase qtdeclarative' | |
| modules: 'qtshadertools' | |
| cache: 'true' | |
| - name: Configure CMake | |
| run: | | |
| cmake -B build -S . \ | |
| -DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE} \ | |
| -DVNM_PLOT_ENABLE_TEXT=${{ matrix.text }} \ | |
| -DVNM_PLOT_BUILD_TESTS=ON \ | |
| -DVNM_PLOT_BUILD_BENCHMARK=${{ matrix.benchmark }} \ | |
| -DVNM_PLOT_BUILD_EXAMPLES=${{ matrix.examples }} \ | |
| -DVNM_PLOT_BUILD_FUNCTION_PLOTTER=OFF | |
| - name: Build | |
| run: cmake --build build --config ${CMAKE_BUILD_TYPE} | |
| - name: Run tests | |
| working-directory: build | |
| run: xvfb-run -a ctest --output-on-failure | |
| - name: Build summary | |
| run: | | |
| echo "=== ${{ matrix.name }} completed ===" | |
| ls -la build/*.a 2>/dev/null || echo "Static libraries in build directory" |