• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1version: 2.1
2
3executors:
4  rust-executor:
5    docker:
6      - image: rust:latest
7
8jobs:
9  build:
10    executor: rust-executor
11    steps:
12      - checkout
13      - run:
14          name: install cargo-web
15          command: cargo install -f cargo-web;
16      - run:
17          name: build
18          command: cargo build --verbose;
19      - run:
20          name: build --features stdweb
21          command: cargo web build --verbose --target wasm32-unknown-unknown --features "stdweb";
22      - run:
23          name: build --features wasm-bindgen
24          command: cargo build --verbose --target wasm32-unknown-unknown --features "wasm-bindgen";
25      - run:
26          name: build --features now
27          command: cargo build --verbose --features now;
28      - run:
29          name: build --features now stdweb
30          command: cargo web build --verbose --target wasm32-unknown-unknown --features "now stdweb";
31      - run:
32          name: build --features now wasm-bindgen
33          command: cargo build --verbose --target wasm32-unknown-unknown --features "now wasm-bindgen";