Skip to content

Commit e42e224

Browse files
committed
ci: add C++ runtime build workflow
Trigger on runtime/** changes. Builds on ubuntu and macos.
1 parent c347f64 commit e42e224

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

.github/workflows/runtime.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Runtime Build
2+
3+
on:
4+
workflow_dispatch:
5+
pull_request:
6+
paths:
7+
- 'runtime/**'
8+
- '.github/workflows/runtime.yml'
9+
10+
jobs:
11+
build:
12+
runs-on: ${{ matrix.os }}
13+
strategy:
14+
fail-fast: false
15+
matrix:
16+
os: [ubuntu-latest, macos-latest]
17+
steps:
18+
- uses: actions/checkout@v4
19+
- name: Build runtime
20+
run: |
21+
cmake -B build -S runtime -DBUILD_TESTING=OFF
22+
cmake --build build -j$(nproc 2>/dev/null || sysctl -n hw.ncpu)

0 commit comments

Comments
 (0)