🤷 #31
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |