bevy/.github/example-run
François 8070c29c21
Take example screenshots in CI (#8488)
# Objective

- I want to take screenshots of examples in CI to help with validation
of changes

## Solution

- Can override how much time is updated per frame
- Can specify on which frame to take a screenshots
- Save screenshots in CI

I reused the `TimeUpdateStrategy::ManualDuration` to be able to set the
time update strategy to a fixed duration every frame. Its previous
meaning didn't make much sense to me. This change makes it possible to
have screenshots that are exactly the same across runs.

If this gets merged, I'll add visual comparison of screenshots between
runs to ensure nothing gets broken

## Migration Guide

* `TimeUpdateStrategy::ManualDuration` meaning has changed. Instead of
setting time to `Instant::now()` plus the given duration, it sets time
to last update plus the given duration.
2023-05-01 18:00:01 +00:00
..
alien_cake_addict.ron run some examples on CI using swiftshader (#1826) 2021-04-14 21:40:36 +00:00
breakout.ron Take example screenshots in CI (#8488) 2023-05-01 18:00:01 +00:00
contributors.ron CI: use lavapipe instead of swiftshader when running examples (#3358) 2021-12-17 23:58:09 +00:00
load_gltf.ron Take example screenshots in CI (#8488) 2023-05-01 18:00:01 +00:00
minimising.ron Add an example to test small window sizes (#3597) 2022-04-26 22:15:24 +00:00
no_renderer.ron Rename headless_defaults example to no_renderer for clarity (#5263) 2022-07-11 14:11:32 +00:00
resizing.ron Add an example to test small window sizes (#3597) 2022-04-26 22:15:24 +00:00
scene.ron CI: use lavapipe instead of swiftshader when running examples (#3358) 2021-12-17 23:58:09 +00:00