Skip to content

Merge pull request #120 from pomagrenate/v1.10.0 #219

Merge pull request #120 from pomagrenate/v1.10.0

Merge pull request #120 from pomagrenate/v1.10.0 #219

Workflow file for this run

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