-
Notifications
You must be signed in to change notification settings - Fork 6
30 lines (24 loc) · 809 Bytes
/
Copy pathci.yml
File metadata and controls
30 lines (24 loc) · 809 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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