Skip to content

add test for benchmark keys #58

add test for benchmark keys

add test for benchmark keys #58

Workflow file for this run

name: cargodev
on: [push, pull_request]
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
- name: Check with clippy
run: |
cargo clippy -- -W clippy::pedantic
- name: Build release
run: |
cargo build --release
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
- name: Check with clippy
run: |
cargo clippy -- -W clippy::pedantic
- name: Build release
run: |
cargo build --release