-
Notifications
You must be signed in to change notification settings - Fork 0
30 lines (27 loc) · 710 Bytes
/
ci.yml
File metadata and controls
30 lines (27 loc) · 710 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:
build-and-format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install deps
run: |
sudo apt-get update
sudo apt-get install -y cmake g++ libvulkan-dev clang-format
- name: Build
run: |
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release
cmake --build build -j"$(nproc)"
- name: Format check
run: |
clang-format --dry-run --Werror src/main.cpp
benchmark-gpu:
if: ${{ false }}
runs-on: [self-hosted, gpu]
steps:
- uses: actions/checkout@v4
- name: Placeholder
run: echo "Enable on GPU runner when available"