You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

33 lines
1.0 KiB

version: 2.1
executors:
rust-executor:
docker:
- image: rust:latest
jobs:
build:
executor: rust-executor
steps:
- checkout
- run:
name: install cargo-web
command: cargo install -f cargo-web;
- run:
name: build
command: cargo build --verbose;
- run:
name: build --features stdweb
command: cargo web build --verbose --target wasm32-unknown-unknown --features "stdweb";
- run:
name: build --features wasm-bindgen
command: cargo build --verbose --target wasm32-unknown-unknown --features "wasm-bindgen";
- run:
name: build --features now
command: cargo build --verbose --features now;
- run:
name: build --features now stdweb
command: cargo web build --verbose --target wasm32-unknown-unknown --features "now stdweb";
- run:
name: build --features now wasm-bindgen
command: cargo build --verbose --target wasm32-unknown-unknown --features "now wasm-bindgen";