Skip to content

Commit

Permalink
updated circlecli config with websys build
Browse files Browse the repository at this point in the history
  • Loading branch information
spennydl committed Jun 9, 2019
1 parent ed2c76f commit d413a03
Showing 1 changed file with 18 additions and 2 deletions.
20 changes: 18 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
paths:
- target

wasm-test:
emscripten-test:
working_directory: ~/winit
docker:
- image: tomaka/rustc-emscripten
Expand All @@ -43,7 +43,22 @@ jobs:
key: wasm-test-cache-{{ checksum "Cargo.toml" }}
- run: cargo build --example window --target wasm32-unknown-emscripten
- save_cache:
key: emscripten-test-cache-{{ checksum "Cargo.toml" }}
paths:
- target

websys-test:
working_directory: ~/winit
docker:
- image: tomaka/rustc-emscripten
steps:
- run: apt-get -qq update && apt-get install -y git
- checkout
- restore_cache:
key: wasm-test-cache-{{ checksum "Cargo.toml" }}
- run: cargo build --example wasm_bindgen --target wasm32-unknown-unknown --features websys
- save_cache:
key: websys-test-cache-{{ checksum "Cargo.toml" }}
paths:
- target

Expand All @@ -53,4 +68,5 @@ workflows:
jobs:
- android-test
- asmjs-test
- wasm-test
- emscripten-test
- websys-test

0 comments on commit d413a03

Please sign in to comment.