Skip to content

Commit

Permalink
wayland
Browse files Browse the repository at this point in the history
  • Loading branch information
naomijub committed Apr 2, 2024
1 parent 90fbdf8 commit c8a8e30
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 44 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/examples.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
run: |
sudo apt-get update;
DEBIAN_FRONTEND=noninteractive sudo apt-get install --no-install-recommends -yq \
libasound2-dev libudev-dev libxkbcommon-x11-0;
libasound2-dev libudev-dev libxkbcommon-x11-0 libwayland-dev;
- name: install xvfb, llvmpipe and lavapipe
run: |
sudo apt-get update -y -qq
Expand All @@ -44,13 +44,13 @@ jobs:
- name: Build bevy
# this uses the same command as when running the example to ensure build is reused
run: |
TRACE_CHROME=trace-platformer.json CI_TESTING_CONFIG=.github/example-run/data.ron cargo build --example platformer --features "bevy_xpbd_3d,ci-testing"
TRACE_CHROME=trace-platformer.json CI_TESTING_CONFIG=.github/example-run/data.ron cargo build --example platformer --features "bevy_xpbd_3d,"bevy/bevy_ci_testing,bevy/trace_chrome,bevy/trace""
- name: Run examples
run: |
example_name=`basename plaformer.ron`
echo -n $example_name > last_example_run
echo "running platformer - "`date`
time TRACE_CHROME=trace-platformer.json CI_TESTING_CONFIG=platformer xvfb-run cargo run --example platformer --features "bevy_xpbd_3d,ci-testing"
time TRACE_CHROME=trace-platformer.json CI_TESTING_CONFIG=platformer xvfb-run cargo run --example platformer --features "bevy_xpbd_3d,"bevy/bevy_ci_testing,bevy/trace_chrome,bevy/trace""
sleep 10
if [ `find ./ -maxdepth 1 -name 'screenshot-*.png' -print -quit` ]; then
mkdir screenshots-platformer
Expand Down
40 changes: 0 additions & 40 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,6 @@ opt-level = 3
bevy_xpbd_3d = ["dep:space_bevy_xpbd_plugin"]
persistence_editor = []
no_event_registration = ["space_prefab/no_event_registration"]
ci-testing = ["bevy/bevy_ci_testing", "bevy/trace_chrome", "bevy/trace"]
default = ["bevy_xpbd_3d", "persistence_editor", "bevy/dynamic_linking"]

[[example]]
Expand Down

0 comments on commit c8a8e30

Please sign in to comment.