forked from bevyengine/bevy
-
Notifications
You must be signed in to change notification settings - Fork 1
26 lines (22 loc) · 898 Bytes
/
crash.yml
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
name: crash
on:
push:
jobs:
run-examples-on-windows-dx12:
runs-on: windows-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- name: Build bevy
shell: bash
# this uses the same command as when running the example to ensure build is reused
run: |
WGPU_BACKEND=dx12 CI_TESTING_CONFIG=.github/example-run/config.ron cargo build --release --example anti_aliasing --features "bevy_ci_testing"
- name: Run examples
shell: bash
run: |
for example_name in anti_aliasing deferred_rendering irradiance_volumes parallax_mapping tonemapping update_gltf_scene; do
time WGPU_BACKEND=dx12 CI_TESTING_CONFIG=.github/example-run/config.ron cargo run --release --example $example_name --features "bevy_ci_testing"
sleep 10
done