This repository was archived by the owner on Dec 2, 2025. It is now read-only.
Remove assumption that geometry uses real scalars (#141) #729
This file contains hidden or 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: ✨ | |
| on: | |
| push: | |
| branches: ["**"] | |
| pull_request: | |
| branches: [main] | |
| merge_group: | |
| jobs: | |
| style-checks: | |
| name: Rust style checks | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| feature-flags: ['--features "strict"', '--features "serde,strict"', '--features "serde,strict,mpi"'] | |
| steps: | |
| - name: Set up Rust | |
| uses: actions-rust-lang/setup-rust-toolchain@v1 | |
| with: | |
| toolchain: stable | |
| components: rustfmt,clippy | |
| - name: Set up MPI | |
| uses: mpi4py/setup-mpi@v1 | |
| with: | |
| mpi: mpich | |
| - uses: actions/checkout@v4 | |
| - name: Install LAPACK, OpenBLAS, SCOTCH | |
| run: | |
| sudo apt-get install -y libopenblas-dev liblapack-dev libscotch-dev | |
| - name: Rust style checks | |
| run: | | |
| cargo fmt -- --check | |
| cargo clippy --no-default-features ${{ matrix.feature-flags }} -- -D warnings | |
| cargo clippy --tests --no-default-features ${{ matrix.feature-flags }} -- -D warnings | |
| cargo clippy --examples --no-default-features ${{ matrix.feature-flags }} -- -D warnings |