Skip to content

Commit 1e1ac1a

Browse files
authored
Merge pull request #13 from rtk-rs/update_rinex
Update libs
2 parents f9024a1 + 955fc5d commit 1e1ac1a

File tree

5 files changed

+49
-46
lines changed

5 files changed

+49
-46
lines changed

.github/workflows/daily.yml

Lines changed: 16 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -13,47 +13,26 @@ jobs:
1313
build:
1414
name: Build
1515
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-
2716
steps:
28-
- uses: actions/checkout@v3
29-
- uses: actions-rs/toolchain@v1
30-
name: Install Rust
17+
- uses: actions/checkout@v4
3118
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-
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
19+
submodules: recursive
20+
fetch-depth: 0
21+
4722
- uses: actions-rs/toolchain@v1
4823
name: Install Rust
4924
with:
5025
toolchain: stable
5126
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
27+
28+
- name: Build (Default)
29+
run: cargo build
30+
31+
- name: Build (SP3)
32+
run: cargo build --features sp3
33+
34+
- name: Build (all features)
35+
run: cargo build --all-features
36+
37+
- name: Run tests
38+
run: cargo test --all-features

.github/workflows/rust.yml

Lines changed: 26 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,30 +16,51 @@ jobs:
1616

1717
steps:
1818
- uses: actions/checkout@v4
19+
with:
20+
submodules: recursive
21+
fetch-depth: 0
22+
1923
- name: Build (Default)
20-
run: cargo build --verbose
24+
run: cargo build
25+
26+
- name: Clean
27+
run: cargo clean
28+
2129
- name: Build (SP3)
2230
run: cargo build --features sp3
23-
- name: Build (All)
31+
32+
- name: Clean
33+
run: cargo clean
34+
35+
- name: Build (all features)
2436
run: cargo build --all-features
37+
38+
- name: Clean
39+
run: cargo clean
40+
2541
- name: Run tests
26-
run: cargo test --all-features --verbose
42+
run: cargo test --all-features
2743

2844
release:
2945
name: Release
3046
runs-on: ubuntu-latest
31-
needs: [build]
47+
needs: ['build']
3248
if: github.ref_type == 'tag'
3349
steps:
3450
- name: Checkout
3551
uses: actions/checkout@v4
52+
with:
53+
submodules: recursive
54+
fetch-depth: 0
55+
3656
- name: Install stable toolchain
3757
uses: dtolnay/rust-toolchain@master
3858
with:
3959
toolchain: stable
60+
4061
- name: Publish
4162
env:
4263
TOKEN: ${{ secrets.CRATES_IO_TOKEN }}
4364
run: |
4465
cargo login $TOKEN
45-
cargo publish
66+
cargo publish --allow-dirty

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "data"]
2+
path = data
3+
url = https://github.com/rtk-rs/data

Cargo.toml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,14 +41,13 @@ hifitime = "4.0"
4141
anise = { version = "0.5.3", features = ["embed_ephem"] }
4242

4343
gnss-rs = { version = "2.3.5", features = ["serde"] }
44-
gnss-qc-traits = { git = "https://github.com/rtk-rs/qc-traits", features = ["processing"] }
44+
gnss-qc-traits = { version = "0.1.1", features = ["processing"] }
4545

4646
maud = "0.26"
4747
plotly = "0.12"
4848

49-
rinex = { git = "https://github.com/rtk-rs/rinex", branch = "main", features = ["qc", "processing", "obs", "clock", "nav", "ionex", "serde"] }
50-
51-
sp3 = { git = "https://github.com/rtk-rs/sp3", branch = "main", features = ["qc", "processing", "anise", "serde"], optional = true }
49+
sp3 = { version = "1.1.2", features = ["qc", "processing", "anise", "serde"], optional = true }
50+
rinex = { git = "https://github.com/rtk-rs/rinex", branch = "main", features = ["qc", "processing", "obs", "clock", "nav", "ionex", "serde"] }
5251

5352
[dev-dependencies]
5453
serde_json = "1"

data

Submodule data added at 97dec85

0 commit comments

Comments
 (0)