Add new lto-thin profile that is used exclusively for macos arm64 rel… #689
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: Test | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
test_crates: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
crate: [feos-core, feos-dft] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Build | |
run: cargo build --release -p ${{ matrix.crate }} | |
- name: Run tests | |
run: cargo test --release -p ${{ matrix.crate }} | |
test_models: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
model: [pcsaft, epcsaft, gc_pcsaft, pets, uvtheory, saftvrqmie, saftvrmie] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Build | |
run: cargo build --release --features ${{ matrix.model }} | |
- name: Run tests | |
run: cargo test --release --features ${{ matrix.model }} | |
test_models_dft: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
model: [pcsaft, gc_pcsaft] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Build | |
run: cargo build --release --features "${{ matrix.model }} dft" | |
- name: Run tests | |
run: cargo test --release --features "${{ matrix.model }} dft" |