File tree Expand file tree Collapse file tree 2 files changed +60
-0
lines changed Expand file tree Collapse file tree 2 files changed +60
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Daily
2+
3+ on :
4+ workflow_dispatch :
5+ schedule :
6+ - cron : " 0 0 * * *" # midnight, every day
7+
8+ env :
9+ RUST_BACKTRACE : 1
10+ CARGO_TERM_COLOR : always
11+
12+ jobs :
13+ build :
14+ name : Build
15+ runs-on : ubuntu-latest
16+ strategy :
17+ fail-fast : true
18+ matrix :
19+ include :
20+ - name : Default build
21+ opts : -r
22+ - name : All Features
23+ opts : --all-features
24+ - name : SP3 Build
25+ opts : --features sp3
26+
27+ steps :
28+ - uses : actions/checkout@v3
29+ - uses : actions-rs/toolchain@v1
30+ name : Install Rust
31+ with :
32+ toolchain : stable
33+ override : true
34+ - name : Install Dependencies
35+ run : |
36+ sudo apt-get update
37+
38+ - name : ${{ matrix.name }}
39+ run : |
40+ cd ${{ matrix.folder }} && cargo clean && cargo update && cargo build ${{ matrix.opts }}
41+
42+ tests :
43+ name : Tests
44+ runs-on : ubuntu-latest
45+ steps :
46+ - uses : actions/checkout@v3
47+ - uses : actions-rs/toolchain@v1
48+ name : Install Rust
49+ with :
50+ toolchain : stable
51+ override : true
52+ - name : Install Dependencies
53+ run : |
54+ sudo apt-get update
55+ - uses : actions-rs/cargo@v1
56+ name : Test (all features)
57+ with :
58+ command : test
59+ args : --all-features
Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ GNSS Quality Control
22====================
33
44[ ![ Rust] ( https://github.com/rtk-rs/gnss-qc/actions/workflows/rust.yml/badge.svg )] ( https://github.com/rtk-rs/gnss-qc/actions/workflows/rust.yml )
5+ [ ![ Rust] ( https://github.com/rtk-rs/gnss-qc/actions/workflows/daily.yml/badge.svg )] ( https://github.com/rtk-rs/gnss-qc/actions/workflows/daily.yml )
56[ ![ crates.io] ( https://docs.rs/gnss-qc/badge.svg )] ( https://docs.rs/gnss-qc/ )
67[ ![ crates.io] ( https://img.shields.io/crates/d/gnss-qc.svg )] ( https://crates.io/crates/gnss-qc )
78
You can’t perform that action at this time.
0 commit comments