Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce GNSS data submodule #323

Merged
merged 4 commits into from
Mar 13, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ jobs:
steps:
- name: Checkout sources
uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 0

- name: Install stable toolchain
uses: dtolnay/rust-toolchain@master
Expand Down
154 changes: 109 additions & 45 deletions .github/workflows/daily.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,64 +13,128 @@ jobs:
build:
name: Build
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
include:
- name: Default
opts: -r
- name: Observations
opts: --features "obs"
- name: Navigation
opts: --features "nav"
- name: Qc
opts: --features "qc"
- name: Meteo
opts: --features "meteo"
- name: Clock
opts: --features "clock"
- name: ANTEX
opts: --features "antex"
- name: DORIS
opts: --features "doris"
- name: Processing
opts: --features "processing"
- name: Full
opts: --features "full"
- name: All-features
opts: --all-features

steps:
- uses: actions/checkout@v3
with:
submodules: recursive
fetch-depth: 0

- uses: actions-rs/toolchain@v1
name: Install Rust
with:
toolchain: stable
override: true

- name: ${{ matrix.name }}
run: |
cargo clean && cargo update && cargo build ${{ matrix.opts }}

tests:
name: Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- uses: actions-rs/cargo@v1
name: Build (default)
with:
submodules: recursive
fetch-depth: 0

- uses: actions-rs/toolchain@v1
name: Install Rust
command: build
args: -r
- uses: actions-rs/cargo@v1
name: Clean
with:
toolchain: stable
override: true
command: clean

- uses: actions-rs/cargo@v1
name: Build (all features)
with:
command: build
args: --all-features

- uses: actions-rs/cargo@v1
name: Clean
with:
command: clean

- uses: actions-rs/cargo@v1
name: Build (Observation)
with:
command: build
args: --features obs

- uses: actions-rs/cargo@v1
name: Clean
with:
command: clean

- uses: actions-rs/cargo@v1
name: Build (Navigation)
with:
command: build
args: --features nav

- uses: actions-rs/cargo@v1
name: Clean
with:
command: clean

- uses: actions-rs/cargo@v1
name: Build (Meteo)
with:
command: build
args: --features meteo

- uses: actions-rs/cargo@v1
name: Clean
with:
command: clean

- uses: actions-rs/cargo@v1
name: Build (Clock)
with:
command: build
args: --features clock

- uses: actions-rs/cargo@v1
name: Clean
with:
command: clean

- uses: actions-rs/cargo@v1
name: Build (DORIS)
with:
command: build
args: --features doris

- uses: actions-rs/cargo@v1
name: Clean
with:
command: clean

- uses: actions-rs/cargo@v1
name: Build (ANTEX)
with:
command: build
args: --features antex

- uses: actions-rs/cargo@v1
name: Clean
with:
command: clean

- uses: actions-rs/cargo@v1
name: Build (Qc)
with:
command: build
args: --features qc

- uses: actions-rs/cargo@v1
name: Clean
with:
command: clean

- uses: actions-rs/cargo@v1
name: Build (Processing)
with:
command: build
args: --features processing

- uses: actions-rs/cargo@v1
name: Clean
with:
command: clean

- uses: actions-rs/cargo@v1
name: Test (all features)
with:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,12 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Install stable
uses: actions-rs/toolchain@v1
with:
toolchain: stable

- name: Publish
env:
TOKEN: ${{ secrets.CRATES_IO_TOKEN }}
Expand Down
166 changes: 113 additions & 53 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,77 +15,137 @@ env:
CARGO_TERM_COLOR: always

jobs:
linter:
name: Linter
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- uses: actions-rs/toolchain@v1
name: Install Rust
with:
toolchain: stable
override: true
submodules: recursive
fetch-depth: 0

- uses: actions-rs/cargo@v1
name: Linter
with:
command: fmt
args: --all -- --check

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

steps:
- uses: actions/checkout@v3
with:
submodules: recursive
fetch-depth: 0

- uses: actions-rs/toolchain@v1
name: Install Rust
with:
toolchain: stable
override: true

- name: Install Dependencies
run: |
sudo apt-get update
- uses: actions-rs/cargo@v1
name: Build (default)
with:
command: build
args: -r

- uses: actions-rs/cargo@v1
name: Clean
with:
command: clean

- uses: actions-rs/cargo@v1
name: Build (all features)
with:
command: build
args: --all-features

- uses: actions-rs/cargo@v1
name: Clean
with:
command: clean

- uses: actions-rs/cargo@v1
name: Build (Observation)
with:
command: build
args: --features obs

- uses: actions-rs/cargo@v1
name: Clean
with:
command: clean

- uses: actions-rs/cargo@v1
name: Build (Navigation)
with:
command: build
args: --features nav

- uses: actions-rs/cargo@v1
name: Clean
with:
command: clean

- uses: actions-rs/cargo@v1
name: Build (Meteo)
with:
command: build
args: --features meteo

- uses: actions-rs/cargo@v1
name: Clean
with:
command: clean

- uses: actions-rs/cargo@v1
name: Build (Clock)
with:
command: build
args: --features clock

- uses: actions-rs/cargo@v1
name: Clean
with:
command: clean

- uses: actions-rs/cargo@v1
name: Build (DORIS)
with:
command: build
args: --features doris

- uses: actions-rs/cargo@v1
name: Clean
with:
command: clean

- uses: actions-rs/cargo@v1
name: Build (ANTEX)
with:
command: build
args: --features antex

- name: ${{ matrix.name }}
run: |
cargo clean && cargo update && cargo build ${{ matrix.opts }}
- uses: actions-rs/cargo@v1
name: Clean
with:
command: clean

- uses: actions-rs/cargo@v1
name: Build (Qc)
with:
command: build
args: --features qc

- uses: actions-rs/cargo@v1
name: Clean
with:
command: clean

- uses: actions-rs/cargo@v1
name: Build (Processing)
with:
command: build
args: --features processing

- uses: actions-rs/cargo@v1
name: Clean
with:
command: clean

- name: Tests
run: |
cargo clean && cargo update && cargo build ${{ matrix.opts }}

- uses: actions-rs/cargo@v1
name: Test (all features)
with:
Expand Down
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ debug/
target/
logs/

test_resources/

Cargo.lock

*.csv
Expand Down
Loading
Loading