Skip to content

Commit

Permalink
Fix nalgebra (#272)
Browse files Browse the repository at this point in the history
* setup daily workflow
* Fix nalgebra dependency

---------

Signed-off-by: Guillaume W. Bres <[email protected]>
  • Loading branch information
gwbres committed Sep 4, 2024
1 parent dfa6e07 commit 493cb8a
Show file tree
Hide file tree
Showing 11 changed files with 155 additions and 21 deletions.
133 changes: 133 additions & 0 deletions .github/workflows/daily.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,133 @@
name: Daily Workflow

on:
workflow_dispatch:
schedule:
- cron: "0 0 * * *" # midnight, every day

env:
RUST_BACKTRACE: 1
CARGO_TERM_COLOR: always

jobs:
build:
name: Build
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
include:
- name: Workspace default
folder: "."
opts: -r
- name: Workspace All-features
folder: "."
opts: --all-features
- name: RINEX Default
folder: rinex
opts: -r
- name: RINEX Observations
folder: rinex
opts: --features "obs"
- name: RINEX Navigation
folder: rinex
opts: --features "nav"
- name: RINEX QC
folder: rinex
opts: --features "qc"
- name: RINEX Meteo
folder: rinex
opts: --features "meteo"
- name: RINEX Clock
folder: rinex
opts: --features "clock"
- name: ANTEX
folder: rinex
opts: --features "antex"
- name: DORIS RINEX
folder: rinex
opts: --features "doris"
- name: RINEX Processing
folder: rinex
opts: --features "processing"
- name: RINEX Full
folder: rinex
opts: --features "full"
- name: RINEX All-features
folder: rinex
opts: --all-features
- name: SP3 default
folder: sp3
opts: -r
- name: SP3 QC
folder: sp3
opts: --features "qc"
- name: SP3 Processing
folder: sp3
opts: --features "processing"
- name: SP3 All-features
folder: sp3
opts: --all-features
- name: RINEX-QC Default
folder: rinex-qc
opts: -r
- name: RINEX-QC SP3
folder: rinex-qc
opts: --features "sp3"
- name: RINEX-QC All-features
folder: rinex-qc
opts: --all-features

steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
name: Install Rust
with:
toolchain: stable
override: true
- name: Install Dependencies
run: |
sudo apt-get update
sudo apt-get install -y libudev-dev
- name: ${{ matrix.name }}
run: |
cd ${{ matrix.folder }} && cargo clean && cargo update && cargo build ${{ matrix.opts }}
tests:
name: Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
name: Install Rust
with:
toolchain: stable
override: true
- name: Install Dependencies
run: |
sudo apt-get update
sudo apt-get install -y libudev-dev
- uses: actions-rs/cargo@v1
name: Test (all features)
with:
command: test
args: --all-features

documentation:
name: Documentation
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
name: Install nightly
with:
toolchain: nightly
override: true
- name: Install Dependencies
run: |
sudo apt-get update
sudo apt-get install -y libudev-dev
- name: Documentation
run: |
./tools/builddoc.sh
2 changes: 1 addition & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: rust
name: Pull Request

on:
push:
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ RINEX
=====

[![Rust](https://github.com/georust/rinex/actions/workflows/rust.yml/badge.svg)](https://github.com/georust/rinex/actions/workflows/rust.yml)
[![Rust](https://github.com/georust/rinex/actions/workflows/daily.yml/badge.svg)](https://github.com/georust/rinex/actions/workflows/daily.yml)
[![crates.io](https://docs.rs/rinex/badge.svg)](https://docs.rs/rinex/)
[![crates.io](https://img.shields.io/crates/d/rinex.svg)](https://crates.io/crates/rinex)

Expand Down
4 changes: 2 additions & 2 deletions crx2rnx/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "crx2rnx"
version = "2.4.0"
version = "2.4.1"
license = "MIT OR Apache-2.0"
authors = ["Guillaume W. Bres <[email protected]>"]
description = "RINEX data decompressor"
Expand All @@ -12,4 +12,4 @@ readme = "README.md"

[dependencies]
clap = { version = "4.4.13", features = ["derive", "color"] }
rinex = { path = "../rinex", version = "=0.17.0-alpha", features = ["serde"] }
rinex = { path = "../rinex", version = "=0.17.0-alpha-1", features = ["serde"] }
12 changes: 6 additions & 6 deletions rinex-cli/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rinex-cli"
version = "0.12.0-alpha"
version = "0.12.0-alpha-1"
license = "MIT OR Apache-2.0"
authors = ["Guillaume W. Bres <[email protected]>"]
description = "Command line tool parse and analyze RINEX data"
Expand Down Expand Up @@ -40,19 +40,19 @@ plotly = "0.9"
# plotly = { path = "../../plotly-rs/plotly" }
# plotly = { git = "https://github.com/gwbres/plotly", branch = "scattergeo" }

anise = { version = "0.4.2", features = ["embed_ephem"] }
anise = { version = "=0.4.2", features = ["embed_ephem"] }
hifitime = { version = "4.0.0-alpha", features = ["serde", "std"] }

gnss-rs = { version = "2.2.3", features = ["serde"] }

gnss-rtk = { version = "0.7.2", features = ["serde"] }
gnss-rtk = { version = "=0.7.4", features = ["serde"] }
# gnss-rtk = { path = "../../rtk-rs/gnss-rtk", features = ["serde"] }
# gnss-rtk = { git = "https://github.com/rtk-rs/gnss-rtk", branch = "main", features = ["serde"] }

cggtts = { version = "4.1.6", features = ["serde", "scheduler"], optional = true }
# cggtts = { path = "../../cggtts/cggtts", features = ["serde", "scheduler"], optional = true }
# cggtts = { git = "https://github.com/gwbres/cggtts", branch = "main", features = ["serde", "scheduler"], optional = true }

rinex = { path = "../rinex", version = "=0.17.0-alpha", features = ["full"] }
sp3 = { path = "../sp3", version = "=1.1.0-alpha", features = ["serde", "flate2"] }
rinex-qc = { path = "../rinex-qc", version = "=0.2.0-alpha", features = ["sp3"] }
rinex = { path = "../rinex", version = "=0.17.0-alpha-1", features = ["full"] }
sp3 = { path = "../sp3", version = "=1.1.0-alpha-1", features = ["serde", "flate2"] }
rinex-qc = { path = "../rinex-qc", version = "=0.2.0-alpha-1", features = ["sp3"] }
2 changes: 1 addition & 1 deletion rinex-cli/src/positioning/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ pub fn precise_positioning(
},
None => {
let method = Method::default();
let mut cfg = Config::static_preset(method);
let mut cfg = Config::static_ppp_preset(method);

/*
* CGGTTS special case
Expand Down
8 changes: 4 additions & 4 deletions rinex-qc/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rinex-qc"
version = "0.2.0-alpha"
version = "0.2.0-alpha-1"
license = "MIT OR Apache-2.0"
authors = ["Guillaume W. Bres <[email protected]>"]
description = "RINEX and more broadly, GNSS data processing"
Expand Down Expand Up @@ -37,7 +37,7 @@ thiserror = "1"
strum = "0.26"
itertools = "0.13.0"
strum_macros = "0.26"
anise = { version = "0.4.2", features = ["embed_ephem"] }
anise = { version = "=0.4.2", features = ["embed_ephem"] }
serde = { version = "1.0", default-features = false, features = ["derive"] }

statrs = { version = "0.16", optional = true }
Expand All @@ -49,10 +49,10 @@ plotly = "0.9"
hifitime = "4.0.0-alpha"
gnss-rs = { version = "2.2.3", features = ["serde"] }

rinex = { path = "../rinex", version = "=0.17.0-alpha", features = ["full"] }
rinex = { path = "../rinex", version = "=0.17.0-alpha-1", features = ["full"] }
rinex-qc-traits = { path = "../qc-traits", version = "=0.2.0", features = ["processing"] }

sp3 = { path = "../sp3", version = "=1.1.0-alpha", features = ["qc", "processing", "serde"], optional = true }
sp3 = { path = "../sp3", version = "=1.1.0-alpha-1", features = ["qc", "processing", "serde"], optional = true }

[dev-dependencies]
serde_json = "1"
6 changes: 3 additions & 3 deletions rinex/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rinex"
version = "0.17.0-alpha"
version = "0.17.0-alpha-1"
license = "MIT OR Apache-2.0"
authors = ["Guillaume W. Bres <[email protected]>"]
description = "Package to parse and analyze RINEX data"
Expand Down Expand Up @@ -107,8 +107,8 @@ flate2 = { version = "1.0.24", optional = true, default-features = false, featur
geo = { version = "0.28", optional = true }
wkt = { version = "0.10.0", default-features = false, optional = true }

anise = { version = "0.4.2", optional = true }
nalgebra = { version = "0.32.3", optional = true }
anise = { version = "=0.4.2", optional = true }
nalgebra = { version = "=0.32.3", optional = true }
hifitime = { version = "4.0.0-alpha", features = ["serde", "std"] }

gnss-rs = { version = "2.2.3", features = ["serde", "domes", "cospar"] }
Expand Down
4 changes: 2 additions & 2 deletions rnx2crx/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rnx2crx"
version = "1.3.0"
version = "1.3.1"
license = "MIT OR Apache-2.0"
authors = ["Guillaume W. Bres <[email protected]>"]
description = "RINEX data compressor"
Expand All @@ -14,4 +14,4 @@ readme = "README.md"
[dependencies]
thiserror = "1"
clap = { version = "4.4.13", features = ["derive", "color"] }
rinex = { path = "../rinex", version = "=0.17.0-alpha", features = ["serde"] }
rinex = { path = "../rinex", version = "=0.17.0-alpha-1", features = ["serde"] }
2 changes: 1 addition & 1 deletion sp3/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "sp3"
version = "1.1.0-alpha"
version = "1.1.0-alpha-1"
license = "MIT OR Apache-2.0"
authors = ["Guillaume W. Bres <[email protected]>"]
description = "IGS SP3 file parser"
Expand Down
2 changes: 1 addition & 1 deletion ublox-rnx/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ serialport = "4.2.0"
ublox = "0.4.4"
gnss-rs = { version = "2.2.3", features = ["serde"] }
clap = { version = "4.4.10", features = ["derive", "color"] }
rinex = { path = "../rinex", version = "=0.17.0-alpha", features = ["serde", "nav", "obs", "clock"] }
rinex = { path = "../rinex", version = "=0.17.0-alpha-1", features = ["serde", "nav", "obs", "clock"] }

0 comments on commit 493cb8a

Please sign in to comment.