Update docs for CI fix #3
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 | |
| on: | |
| push: | |
| pull_request: | |
| branches: [ main ] | |
| jobs: | |
| build-and-test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install dependencies | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y --no-install-recommends \ | |
| cmake \ | |
| ninja-build \ | |
| g++-14 \ | |
| libgl1-mesa-dev | |
| - name: Configure with BUDDD_HAS_DISPLAY=OFF | |
| run: cmake -DBUDDD_HAS_DISPLAY=OFF -DSDL_UNIX_CONSOLE_BUILD=ON -DCMAKE_CXX_COMPILER=g++-14 --preset debug | |
| - name: Build | |
| run: cmake --build --preset debug | |
| - name: Test | |
| run: ctest --preset debug --output-on-failure |