mirror of
https://github.com/italicsjenga/winit-sonoma-fix.git
synced 2024-12-25 14:51:30 +11:00
192bd798e3
* Implement virtual key translation * Remove unused std::mem import from the right file * Install git on CircleCI instances * Fix CircleCI config script * Fix type error in emscripten keyboard events
57 lines
1.5 KiB
YAML
57 lines
1.5 KiB
YAML
version: 2
|
|
|
|
jobs:
|
|
|
|
android-test:
|
|
working_directory: ~/winit
|
|
docker:
|
|
- image: tomaka/cargo-apk
|
|
steps:
|
|
- run: apt-get -qq update && apt-get install -y git
|
|
- checkout
|
|
- restore_cache:
|
|
key: android-test-cache-{{ checksum "Cargo.toml" }}
|
|
- run: cargo apk build --example window
|
|
- save_cache:
|
|
key: android-test-cache-{{ checksum "Cargo.toml" }}
|
|
paths:
|
|
- target
|
|
|
|
asmjs-test:
|
|
working_directory: ~/winit
|
|
docker:
|
|
- image: tomaka/rustc-emscripten
|
|
steps:
|
|
- run: apt-get -qq update && apt-get install -y git
|
|
- 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:
|
|
- run: apt-get -qq update && apt-get install -y git
|
|
- 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
|
|
|
|
workflows:
|
|
version: 2
|
|
build-test-and-deploy:
|
|
jobs:
|
|
- android-test
|
|
- asmjs-test
|
|
- wasm-test
|