Use workflows for mouse interactions #920
Workflow file for this run
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: ci_web | |
on: | |
pull_request: | |
workflow_dispatch: | |
push: | |
branches: [main] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: rust-wasm-target | |
run: | | |
rustup target add wasm32-unknown-unknown | |
- name: apt-deps | |
run: | | |
sudo apt-get update | |
sudo apt-get install libasound2-dev libudev-dev binaryen | |
- name: cargo-deps | |
run: | | |
cargo install wasm-bindgen-cli | |
- uses: actions/checkout@v3 | |
- name: build rmf_site_format | |
run: | | |
cd rmf_site_format | |
cargo build | |
- name: build rmf_site_editor | |
run: scripts/build-web.sh |