Skip to content

Commit 64dc8f1

Browse files
authored
Introduce GNSS data submodule (#323)
* Introduce GNSS data submodule * Benchmark: introduce data as submodule * move to latest qc-traits --------- Signed-off-by: Guillaume W. Bres <guillaume.bressaix@gmail.com>
1 parent 65360e0 commit 64dc8f1

File tree

135 files changed

+368
-38029
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

135 files changed

+368
-38029
lines changed

.github/workflows/benchmarks.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ jobs:
3030
steps:
3131
- name: Checkout sources
3232
uses: actions/checkout@v4
33+
with:
34+
submodules: recursive
35+
fetch-depth: 0
3336

3437
- name: Install stable toolchain
3538
uses: dtolnay/rust-toolchain@master

.github/workflows/daily.yml

Lines changed: 109 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -13,64 +13,128 @@ jobs:
1313
build:
1414
name: Build
1515
runs-on: ubuntu-latest
16-
strategy:
17-
fail-fast: true
18-
matrix:
19-
include:
20-
- name: Default
21-
opts: -r
22-
- name: Observations
23-
opts: --features "obs"
24-
- name: Navigation
25-
opts: --features "nav"
26-
- name: Qc
27-
opts: --features "qc"
28-
- name: Meteo
29-
opts: --features "meteo"
30-
- name: Clock
31-
opts: --features "clock"
32-
- name: ANTEX
33-
opts: --features "antex"
34-
- name: DORIS
35-
opts: --features "doris"
36-
- name: Processing
37-
opts: --features "processing"
38-
- name: Full
39-
opts: --features "full"
40-
- name: All-features
41-
opts: --all-features
42-
4316
steps:
4417
- uses: actions/checkout@v3
4518
with:
4619
submodules: recursive
4720
fetch-depth: 0
48-
21+
4922
- uses: actions-rs/toolchain@v1
5023
name: Install Rust
5124
with:
5225
toolchain: stable
5326
override: true
54-
55-
- name: ${{ matrix.name }}
56-
run: |
57-
cargo clean && cargo update && cargo build ${{ matrix.opts }}
58-
59-
tests:
60-
name: Tests
61-
runs-on: ubuntu-latest
62-
steps:
63-
- uses: actions/checkout@v3
27+
28+
- uses: actions-rs/cargo@v1
29+
name: Build (default)
6430
with:
65-
submodules: recursive
66-
fetch-depth: 0
67-
68-
- uses: actions-rs/toolchain@v1
69-
name: Install Rust
31+
command: build
32+
args: -r
33+
34+
- uses: actions-rs/cargo@v1
35+
name: Clean
7036
with:
71-
toolchain: stable
72-
override: true
37+
command: clean
38+
39+
- uses: actions-rs/cargo@v1
40+
name: Build (all features)
41+
with:
42+
command: build
43+
args: --all-features
44+
45+
- uses: actions-rs/cargo@v1
46+
name: Clean
47+
with:
48+
command: clean
49+
50+
- uses: actions-rs/cargo@v1
51+
name: Build (Observation)
52+
with:
53+
command: build
54+
args: --features obs
55+
56+
- uses: actions-rs/cargo@v1
57+
name: Clean
58+
with:
59+
command: clean
60+
61+
- uses: actions-rs/cargo@v1
62+
name: Build (Navigation)
63+
with:
64+
command: build
65+
args: --features nav
66+
67+
- uses: actions-rs/cargo@v1
68+
name: Clean
69+
with:
70+
command: clean
71+
72+
- uses: actions-rs/cargo@v1
73+
name: Build (Meteo)
74+
with:
75+
command: build
76+
args: --features meteo
77+
78+
- uses: actions-rs/cargo@v1
79+
name: Clean
80+
with:
81+
command: clean
82+
83+
- uses: actions-rs/cargo@v1
84+
name: Build (Clock)
85+
with:
86+
command: build
87+
args: --features clock
88+
89+
- uses: actions-rs/cargo@v1
90+
name: Clean
91+
with:
92+
command: clean
93+
94+
- uses: actions-rs/cargo@v1
95+
name: Build (DORIS)
96+
with:
97+
command: build
98+
args: --features doris
99+
100+
- uses: actions-rs/cargo@v1
101+
name: Clean
102+
with:
103+
command: clean
104+
105+
- uses: actions-rs/cargo@v1
106+
name: Build (ANTEX)
107+
with:
108+
command: build
109+
args: --features antex
73110

111+
- uses: actions-rs/cargo@v1
112+
name: Clean
113+
with:
114+
command: clean
115+
116+
- uses: actions-rs/cargo@v1
117+
name: Build (Qc)
118+
with:
119+
command: build
120+
args: --features qc
121+
122+
- uses: actions-rs/cargo@v1
123+
name: Clean
124+
with:
125+
command: clean
126+
127+
- uses: actions-rs/cargo@v1
128+
name: Build (Processing)
129+
with:
130+
command: build
131+
args: --features processing
132+
133+
- uses: actions-rs/cargo@v1
134+
name: Clean
135+
with:
136+
command: clean
137+
74138
- uses: actions-rs/cargo@v1
75139
name: Test (all features)
76140
with:

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,12 @@ jobs:
1717
steps:
1818
- name: Checkout
1919
uses: actions/checkout@v4
20+
2021
- name: Install stable
2122
uses: actions-rs/toolchain@v1
2223
with:
2324
toolchain: stable
25+
2426
- name: Publish
2527
env:
2628
TOKEN: ${{ secrets.CRATES_IO_TOKEN }}

.github/workflows/rust.yml

Lines changed: 113 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -15,77 +15,137 @@ env:
1515
CARGO_TERM_COLOR: always
1616

1717
jobs:
18-
linter:
19-
name: Linter
18+
build:
19+
name: Build
2020
runs-on: ubuntu-latest
2121
steps:
2222
- uses: actions/checkout@v3
23-
24-
- uses: actions-rs/toolchain@v1
25-
name: Install Rust
2623
with:
27-
toolchain: stable
28-
override: true
24+
submodules: recursive
25+
fetch-depth: 0
26+
2927
- uses: actions-rs/cargo@v1
3028
name: Linter
3129
with:
3230
command: fmt
3331
args: --all -- --check
34-
35-
build:
36-
name: Build
37-
runs-on: ubuntu-latest
38-
strategy:
39-
fail-fast: true
40-
matrix:
41-
include:
42-
- name: Default
43-
opts: -r
44-
- name: All-features
45-
opts: --all-features
46-
- name: Observations
47-
opts: --features "obs"
48-
- name: Navigation
49-
opts: --features "nav"
50-
- name: QC
51-
opts: --features "qc"
52-
- name: Meteo
53-
opts: --features "meteo"
54-
- name: Clock
55-
opts: --features "clock"
56-
- name: ANTEX
57-
opts: --features "antex"
58-
- name: DORIS RINEX
59-
opts: --features "doris"
60-
- name: Processing
61-
opts: --features "processing"
62-
- name: Full
63-
opts: --features "full"
64-
65-
steps:
66-
- uses: actions/checkout@v3
67-
with:
68-
submodules: recursive
69-
fetch-depth: 0
7032

7133
- uses: actions-rs/toolchain@v1
7234
name: Install Rust
7335
with:
7436
toolchain: stable
7537
override: true
7638

77-
- name: Install Dependencies
78-
run: |
79-
sudo apt-get update
39+
- uses: actions-rs/cargo@v1
40+
name: Build (default)
41+
with:
42+
command: build
43+
args: -r
44+
45+
- uses: actions-rs/cargo@v1
46+
name: Clean
47+
with:
48+
command: clean
49+
50+
- uses: actions-rs/cargo@v1
51+
name: Build (all features)
52+
with:
53+
command: build
54+
args: --all-features
55+
56+
- uses: actions-rs/cargo@v1
57+
name: Clean
58+
with:
59+
command: clean
60+
61+
- uses: actions-rs/cargo@v1
62+
name: Build (Observation)
63+
with:
64+
command: build
65+
args: --features obs
66+
67+
- uses: actions-rs/cargo@v1
68+
name: Clean
69+
with:
70+
command: clean
71+
72+
- uses: actions-rs/cargo@v1
73+
name: Build (Navigation)
74+
with:
75+
command: build
76+
args: --features nav
77+
78+
- uses: actions-rs/cargo@v1
79+
name: Clean
80+
with:
81+
command: clean
82+
83+
- uses: actions-rs/cargo@v1
84+
name: Build (Meteo)
85+
with:
86+
command: build
87+
args: --features meteo
88+
89+
- uses: actions-rs/cargo@v1
90+
name: Clean
91+
with:
92+
command: clean
93+
94+
- uses: actions-rs/cargo@v1
95+
name: Build (Clock)
96+
with:
97+
command: build
98+
args: --features clock
99+
100+
- uses: actions-rs/cargo@v1
101+
name: Clean
102+
with:
103+
command: clean
104+
105+
- uses: actions-rs/cargo@v1
106+
name: Build (DORIS)
107+
with:
108+
command: build
109+
args: --features doris
110+
111+
- uses: actions-rs/cargo@v1
112+
name: Clean
113+
with:
114+
command: clean
115+
116+
- uses: actions-rs/cargo@v1
117+
name: Build (ANTEX)
118+
with:
119+
command: build
120+
args: --features antex
80121

81-
- name: ${{ matrix.name }}
82-
run: |
83-
cargo clean && cargo update && cargo build ${{ matrix.opts }}
122+
- uses: actions-rs/cargo@v1
123+
name: Clean
124+
with:
125+
command: clean
126+
127+
- uses: actions-rs/cargo@v1
128+
name: Build (Qc)
129+
with:
130+
command: build
131+
args: --features qc
132+
133+
- uses: actions-rs/cargo@v1
134+
name: Clean
135+
with:
136+
command: clean
137+
138+
- uses: actions-rs/cargo@v1
139+
name: Build (Processing)
140+
with:
141+
command: build
142+
args: --features processing
143+
144+
- uses: actions-rs/cargo@v1
145+
name: Clean
146+
with:
147+
command: clean
84148

85-
- name: Tests
86-
run: |
87-
cargo clean && cargo update && cargo build ${{ matrix.opts }}
88-
89149
- uses: actions-rs/cargo@v1
90150
name: Test (all features)
91151
with:

.gitignore

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ debug/
22
target/
33
logs/
44

5-
test_resources/
6-
75
Cargo.lock
86

97
*.csv

0 commit comments

Comments
 (0)