mirror of
https://github.com/rust-windowing/winit.git
synced 2026-06-26 22:53:15 -04:00
Use circle-ci for Android
This commit is contained in:
23
.circleci/config.yml
Normal file
23
.circleci/config.yml
Normal file
@@ -0,0 +1,23 @@
|
||||
version: 2
|
||||
|
||||
jobs:
|
||||
|
||||
test:
|
||||
working_directory: ~/tgst
|
||||
docker:
|
||||
- image: tomaka/cargo-apk
|
||||
steps:
|
||||
- checkout
|
||||
- restore_cache:
|
||||
key: test-cache-{{ checksum "Cargo.lock" }}
|
||||
- run: cargo apk build --example window
|
||||
- save_cache:
|
||||
key: test-cache-{{ checksum "Cargo.lock" }}
|
||||
paths:
|
||||
- target
|
||||
|
||||
workflows:
|
||||
version: 2
|
||||
build-test-and-deploy:
|
||||
jobs:
|
||||
- test
|
||||
@@ -1,8 +1,3 @@
|
||||
sudo: required
|
||||
|
||||
services:
|
||||
- docker
|
||||
|
||||
language: rust
|
||||
|
||||
rust:
|
||||
@@ -26,7 +21,6 @@ script:
|
||||
- cargo build --verbose
|
||||
- if [ $TRAVIS_OS_NAME = osx ]; then cargo build --target x86_64-apple-ios --verbose; fi
|
||||
- cargo test --verbose
|
||||
- docker run --rm -v "$(pwd):/root/src" -w /root/src tomaka/cargo-apk cargo apk build --example window --verbose
|
||||
|
||||
os:
|
||||
- linux
|
||||
|
||||
Reference in New Issue
Block a user