winit-sonoma-fix/.circleci/config.yml

54 lines
1.3 KiB
YAML
Raw Normal View History

2017-07-25 18:13:45 +10:00
version: 2
jobs:
android-test:
working_directory: ~/winit
2017-07-25 18:13:45 +10:00
docker:
- image: tomaka/cargo-apk
steps:
- checkout
- restore_cache:
key: android-test-cache-{{ checksum "Cargo.toml" }}
2017-07-25 18:13:45 +10:00
- run: cargo apk build --example window
- save_cache:
key: android-test-cache-{{ checksum "Cargo.toml" }}
2017-07-25 18:13:45 +10:00
paths:
- target
asmjs-test:
working_directory: ~/winit
docker:
- image: tomaka/rustc-emscripten
steps:
- checkout
- restore_cache:
key: asmjs-test-cache-{{ checksum "Cargo.toml" }}
- run: cargo build --example window --target asmjs-unknown-emscripten
- save_cache:
key: asmjs-test-cache-{{ checksum "Cargo.toml" }}
paths:
- target
wasm-test:
working_directory: ~/winit
docker:
- image: tomaka/rustc-emscripten
steps:
- checkout
- restore_cache:
key: wasm-test-cache-{{ checksum "Cargo.toml" }}
- run: cargo build --example window --target wasm32-unknown-emscripten
- save_cache:
key: wasm-test-cache-{{ checksum "Cargo.toml" }}
paths:
- target
2017-07-25 18:13:45 +10:00
workflows:
version: 2
build-test-and-deploy:
jobs:
- android-test
- asmjs-test
- wasm-test