aboutsummaryrefslogtreecommitdiff
path: root/.circleci/config.yml
blob: 878e28821a982f1cd2b0c4534297a9c405300c72 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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";