Skip to content

Commit 656a8e5

Browse files
committed
Add feature-mixer github test
1 parent 2f8617b commit 656a8e5

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

.github/workflows/build.yml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -90,16 +90,21 @@ jobs:
9090
run: |
9191
cargo build --release --target=${{ matrix.target }} --features ${{ matrix.features }}
9292
93-
build-no-ptp:
94-
name: build-no-ptp
93+
build-feature-mixer:
94+
name: build-feature-mixer
9595
runs-on: ubuntu-20.04
9696
strategy:
9797
matrix:
9898
target:
9999
- x86_64-unknown-linux-gnu
100+
features:
101+
- "ptp,async-await"
102+
- "ptp"
103+
- "async-await"
104+
- ""
100105
toolchain:
101106
- stable
102-
features:
107+
mcu:
103108
- stm32f107
104109
- stm32f407
105110
- stm32f745
@@ -115,7 +120,7 @@ jobs:
115120
116121
- name: cargo build
117122
run: |
118-
cargo build --release --target=${{ matrix.target }} --features ${{ matrix.features }} --no-default-features
123+
cargo build --release --target=${{ matrix.target }} --features "${{ matrix.mcu }}" --features "${{ matrix.features }}" --no-default-features
119124
120125
# Test that all of the examples compile
121126
# for stm32f429
@@ -204,7 +209,7 @@ jobs:
204209
- test
205210
- examples
206211
- examples-common
207-
- build-no-ptp
212+
- build-feature-mixer
208213
runs-on: ubuntu-20.04
209214
steps:
210215
- name: Mark the job as a success

0 commit comments

Comments
 (0)