Skip to content

Commit f0ba558

Browse files
committed
Add rendering
1 parent e625695 commit f0ba558

23 files changed

Lines changed: 6093 additions & 519 deletions

.github/workflows/ci.yml

Lines changed: 24 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -19,49 +19,51 @@ jobs:
1919
- name: Default tests
2020
run: cargo test
2121

22+
- name: Builtin game tests
23+
run: cargo test --features builtin-games
24+
2225
- name: Physics tests
2326
run: cargo test --features physics
2427

2528
- name: Parallel tests
2629
run: cargo test --features parallel
2730

28-
- name: Full feature tests
29-
run: cargo test --features "parallel physics"
31+
- name: Builtin physics tests
32+
run: cargo test --features "builtin-games physics"
33+
34+
- name: Rendered builtin tests
35+
run: cargo test --features "render builtin-games physics"
36+
37+
- name: Render framework check
38+
run: cargo check --features render
39+
40+
- name: Rendered builtin check
41+
run: cargo check --features "render builtin-games"
3042

3143
- name: WASM check
3244
run: cargo check --target wasm32-unknown-unknown
3345

3446
- name: WASM physics check
3547
run: cargo check --target wasm32-unknown-unknown --features physics
3648

37-
- name: Bench compile
38-
run: cargo bench --no-run
39-
40-
- name: Experimental Rapier compile
41-
run: cargo check --features experimental-rapier
49+
- name: WASM rendered builtin check
50+
run: cargo check --target wasm32-unknown-unknown --features "render builtin-games physics"
4251

43-
kani-default:
44-
runs-on: ubuntu-20.04
45-
steps:
46-
- name: Checkout
47-
uses: actions/checkout@v4
52+
- name: Clippy
53+
run: cargo clippy --all-targets --all-features -- -D warnings
4854

49-
- name: Run Kani on the default kernel
50-
uses: model-checking/kani-github-action@v0.67
51-
with:
52-
kani-version: "0.67.0"
53-
command: cargo-kani
54-
args: "--lib"
55+
- name: Bench compile
56+
run: cargo bench --no-run --features "builtin-games physics"
5557

56-
kani-physics:
58+
kani:
5759
runs-on: ubuntu-20.04
5860
steps:
5961
- name: Checkout
6062
uses: actions/checkout@v4
6163

62-
- name: Run Kani on the physics feature set
64+
- name: Run Kani proof matrix
6365
uses: model-checking/kani-github-action@v0.67
6466
with:
6567
kani-version: "0.67.0"
66-
command: cargo-kani
67-
args: "--lib --features physics"
68+
command: bash
69+
args: "scripts/run-kani.sh"

0 commit comments

Comments
 (0)