Skip to content

Commit 477cd12

Browse files
committed
Also test different pin configurations for the examples
1 parent aac9417 commit 477cd12

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,19 +113,22 @@ jobs:
113113
- stable
114114
target:
115115
- thumbv7m-none-eabi
116+
pins:
117+
- nucleo
118+
- default
116119
steps:
117120
- name: Checkout
118121
uses: actions/checkout@v3
119122

120-
- name: Install Rust ${{ matrix.toolchain }} with target (${{ matrix.target }})
123+
- name: Install Rust ${{ matrix.toolchain }} with target (${{ matrix.target }}) and pins ${{ matrix.pins }}
121124
run: |
122125
rustup set profile minimal
123126
rustup override set ${{ matrix.toolchain }}
124127
rustup target add ${{ matrix.target }}
125128
126129
- name: Build example ${{ matrix.example.example }} for ${{ matrix.mcu }}
127130
run: |
128-
cargo build --release --target=${{ matrix.target }} --example ${{ matrix.example.example}} --features ${{ matrix.mcu }},${{ matrix.example.features }}
131+
STM32_ETH_EXAMPLE_PINS=${{ matrix.pins }} cargo build --release --target=${{ matrix.target }} --example ${{ matrix.example.example}} --features ${{ matrix.mcu }},${{ matrix.example.features }}
129132
130133
# Refs: https://github.com/rust-lang/crater/blob/9ab6f9697c901c4a44025cf0a39b73ad5b37d198/.github/workflows/bors.yml#L125-L149
131134
#

0 commit comments

Comments
 (0)