![]() # Objective - running wasm examples in CI currently timeout, this blocks merging PRs ## Solution - Don't update mesa but uses the version provided by the latest ubuntu - Alternative to #17998 ## Testing run in a docker container: `docker run --rm -it ubuntu` ``` apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -y curl git software-properties-common nodejs npm build-essential curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y . "$HOME/.cargo/env" rustup target install wasm32-unknown-unknown curl -L --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/cargo-bins/cargo-binstall/main/install-from-binstall-release.sh | bash cargo binstall wasm-bindgen-cli -y git clone https://github.com/bevyengine/bevy cd bevy cd .github/start-wasm-example npm install npx playwright install --with-deps cd ../.. python3 -m http.server --directory examples/wasm & xvfb-run cargo run -p build-wasm-example -- --browsers firefox --frames 25 --test 2d_shapes ``` |
||
---|---|---|
.. | ||
actions/install-linux-deps | ||
example-run | ||
ISSUE_TEMPLATE | ||
linters | ||
start-mobile-example | ||
start-wasm-example | ||
workflows | ||
dependabot.yml | ||
FUNDING.yml | ||
pull_request_template.md |