Move sources #1779
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: | |
- main | |
tags: | |
- "*" | |
pull_request: | |
branches: | |
- main | |
env: | |
RUST_BACKTRACE: 1 | |
CARGO_TERM_COLOR: always | |
jobs: | |
linter: | |
name: Linter | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions-rs/toolchain@v1 | |
name: Install Rust | |
with: | |
toolchain: stable | |
override: true | |
- 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: Workspace default | |
opts: -r | |
- name: Workspace All-features | |
opts: --all-features | |
- name: RINEX Default | |
opts: -r | |
- name: RINEX Observations | |
opts: --features "obs" | |
- name: RINEX Navigation | |
opts: --features "nav" | |
- name: RINEX QC | |
opts: --features "qc" | |
- name: RINEX Meteo | |
opts: --features "meteo" | |
- name: RINEX Clock | |
opts: --features "clock" | |
- name: ANTEX | |
opts: --features "antex" | |
- name: DORIS RINEX | |
opts: --features "doris" | |
- name: RINEX Processing | |
opts: --features "processing" | |
- name: RINEX Full | |
opts: --features "full" | |
- name: RINEX All-features | |
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 | |
- 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/toolchain@v1 | |
name: Install Rust | |
with: | |
toolchain: stable | |
override: true | |
- name: Install Dependencies | |
run: | | |
sudo apt-get update | |
- 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 | |
- name: Documentation | |
run: | | |
./tools/builddoc.sh |