Skip to content

Remove Clone on ParameterState and upgrade several dependencies. #636

Remove Clone on ParameterState and upgrade several dependencies.

Remove Clone on ParameterState and upgrade several dependencies. #636

Workflow file for this run

name: Rust (Windows)
on:
push:
branches: [ main ]
pull_request:
env:
CARGO_INCREMENTAL: 0
CARGO_TERM_COLOR: always
# Make sure CI fails on all warnings, including Clippy lints
RUSTFLAGS: "-Dwarnings"
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true
- uses: swatinem/rust-cache@v2
- name: Run Clippy
run: cargo clippy --all-targets --features highs,cbc
- name: Build
run: cargo build --verbose --features highs,cbc --workspace --exclude ipm-simd --exclude pywr-python
- name: Run tests
# Only test the library and binaries, not the docs
# There were some issues with the docs tests timing out on Windows CI
run: cargo test --features highs,cbc --verbose --lib --bins -- --test-threads=1