Skip to content

Commit fdb6e99

Browse files
Merge pull request #275 from neutrinoceros/tst/build-configurations
2 parents affc46a + 58bdbd0 commit fdb6e99

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,21 +101,26 @@ jobs:
101101
- run: cargo test --verbose
102102

103103
rust-tests:
104-
name: Rust project - ${{ matrix.toolchain }}
104+
name: Rust project - ${{ matrix.toolchain }} - ${{ matrix.feature-args }}
105105
runs-on: ubuntu-latest
106106
strategy:
107107
matrix:
108108
toolchain:
109109
- stable
110110
- beta
111111
- nightly
112+
feature-args:
113+
- ''
114+
- -F branchless
115+
- -F fma
116+
- -F branchless,fma
112117
steps:
113118
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
114119
with:
115120
persist-credentials: false
116121
- run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}
117-
- run: cargo build --verbose
118-
- run: cargo test --verbose
122+
- run: cargo build --verbose --no-default-features ${{ matrix.feature-args }}
123+
- run: cargo test --verbose --no-default-features ${{ matrix.feature-args }}
119124

120125
rust-tests-future-deps:
121126
name: Rust project - future dependencies

0 commit comments

Comments
 (0)