File tree Expand file tree Collapse file tree 4 files changed +43
-34
lines changed Expand file tree Collapse file tree 4 files changed +43
-34
lines changed Original file line number Diff line number Diff line change 1
- name : Rust
1
+ name : Continuous integration
2
2
3
3
on :
4
4
push :
10
10
CARGO_TERM_COLOR : always
11
11
12
12
jobs :
13
- build :
14
-
15
- runs-on : ubuntu-latest
13
+ ci :
14
+ runs-on : ${{ matrix.os }}
15
+ strategy :
16
+ matrix :
17
+ os :
18
+ - ubuntu-latest
19
+ - macOS-latest
20
+ toolchain :
21
+ - stable
22
+ - beta
23
+ - nightly
24
+ target :
25
+ - arm-linux-androideabi
26
+ - armv7-linux-androideabi
27
+ - aarch64-linux-android
28
+ - i686-linux-android
16
29
17
30
steps :
18
- - uses : actions/checkout@v2
19
- - name : Build
20
- run : cargo build --verbose
31
+ - uses : actions/checkout@v2
32
+
33
+ - name : Install Rust ${{ matrix.toolchain }}
34
+ uses : actions-rs/toolchain@v1
35
+ with :
36
+ profile : minimal
37
+ toolchain : ${{ matrix.toolchain }}
38
+ target : ${{ matrix.target }}
39
+
40
+ - name : Build
41
+ uses : actions-rs/cargo@v1
42
+ with :
43
+ command : build
44
+
45
+ - name : Generate docs
46
+ uses : actions-rs/cargo@v1
47
+ with :
48
+ command : doc
49
+
50
+ - name : Run tests
51
+ uses : actions-rs/cargo@v1
52
+ with :
53
+ command : test
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
[package ]
2
2
name = " android_logger"
3
- version = " 0.10.0 "
3
+ version = " 0.10.1 "
4
4
authors = [" The android_logger Developers" ]
5
5
license = " MIT OR Apache-2.0"
6
6
readme = " README.md"
Original file line number Diff line number Diff line change 1
1
## Send Rust logs to Logcat
2
2
3
3
[ ![ Version] ( https://img.shields.io/crates/v/android_logger.svg )] ( https://crates.io/crates/android_logger )
4
- [ ![ Build Status] ( https://travis-ci.org/Nercury/android_logger-rs.svg?branch=master )] ( https://travis-ci.org/Nercury/android_logger-rs )
4
+ [ ![ CI status] ( https://github.com/Nercury/android_logger-rs/actions/workflows/ci.yml/badge.svg )] ( https://github.com/Nercury/android_logger-rs/actions/workflows/ci.yml/ )
5
+
5
6
6
7
This library is a drop-in replacement for ` env_logger ` . Instead, it outputs messages to
7
8
android's logcat.
You can’t perform that action at this time.
0 commit comments