WIP major docs overhaul #111
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: cargodev | |
on: | |
push: | |
branches-ignore: | |
- main | |
pull_request: | |
branches: | |
- "**" | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build-linux: | |
name: Build on Linux | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Prepare environment | |
run: | | |
sudo apt-get update | |
sudo apt-get install clang | |
sudo apt-get install libclang1 | |
sudo apt-get install libeccodes-dev | |
rustup update stable | |
cargo clean | |
- name: Test with cargo | |
run: | | |
RUST_BACKTRACE=full cargo test --features "experimental_index, message_ndarray" -- --include-ignored | |
- name: Check with clippy | |
run: | | |
cargo clippy --features "experimental_index, message_ndarray" | |
- name: Build release | |
run: | | |
cargo build --release --features "experimental_index, message_ndarray" | |
build-macos: | |
name: Build on MacOS | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Prepare environment | |
run: | | |
brew install eccodes | |
rustup update stable | |
cargo clean | |
- name: Test with cargo | |
run: | | |
RUST_BACKTRACE=full cargo test --features "experimental_index, message_ndarray" -- --include-ignored | |
- name: Check with clippy | |
run: | | |
cargo clippy --features "experimental_index, message_ndarray" | |
- name: Build release | |
run: | | |
cargo build --release --features "experimental_index, message_ndarray" |