Merge pull request #120 from pomagrenate/v1.10.0 #219
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: | |
| jobs: | |
| tests: | |
| name: run-all-tests | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| submodules: recursive | |
| - name: Setup CMake | |
| uses: lukka/get-cmake@latest | |
| - name: Configure | |
| run: cmake -S . -B build -DPOMAI_BUILD_TESTS=ON -DPOMAI_BUILD_BENCH=OFF | |
| - name: Build | |
| run: cmake --build build --config Release --parallel | |
| # GitHub-hosted runners typically have no usable Vulkan ICD/GPU; GPU tests would flake or fail. | |
| # Set POMAI_SKIP_VULKAN_TESTS=0 locally or install mesa-vulkan-drivers (Lavapipe) to exercise Vulkan. | |
| - name: CTest | |
| env: | |
| POMAI_SKIP_VULKAN_TESTS: 1 | |
| run: ctest --test-dir build --output-on-failure -C Release --timeout 120 |