language: rust
cache: cargo
rust:
- nightly
matrix:
include:
- env: TARGET=x86_64-unknown-linux-gnu
os: linux
install:
- rustup self update
- rustup target add $TARGET; true
script:
- chmod +x ./ci/install_cargo_web.sh
- ./ci/install_cargo_web.sh
- cargo build --target $TARGET --verbose
- cargo build --target $TARGET --verbose --examples
- cargo web build --example basic --release
- cargo web build --example perf --release
- cargo web build --example fonts --release
- cargo web build --example unicode --release