mirror of
https://github.com/italicsjenga/winit-sonoma-fix.git
synced 2024-12-24 06:11:30 +11:00
Use circle-ci for Android
This commit is contained in:
parent
772acc742e
commit
3ccee6c2f1
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
|
||||
|
|
Loading…
Reference in a new issue