File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed
Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change 1414 runs-on : ubuntu-22.04
1515 container : swiftlang/swift:nightly-main-jammy
1616 strategy :
17+ fail-fast : false
1718 matrix :
18- example : [pico-blink-sdk, pico-w-blink-sdk]
19+ example :
20+ - name : pico-blink-sdk
21+ board : pico
22+ - name : pico-w-blink-sdk
23+ board : pico-w
1924
2025 steps :
2126 - name : Checkout repo
@@ -51,12 +56,12 @@ jobs:
5156 - name : Set PICO environment variables
5257 run : |
5358 ARCH=`uname -m`
54- echo "PICO_BOARD=pico " >> $GITHUB_ENV
59+ echo "PICO_BOARD=${{ matrix.example.board }} " >> $GITHUB_ENV
5560 echo "PICO_SDK_PATH=`pwd`/pico-sdk" >> $GITHUB_ENV
5661 echo "PICO_TOOLCHAIN_PATH=`pwd`/arm-gnu-toolchain-13.3.rel1-$ARCH-arm-none-eabi" >> $GITHUB_ENV
5762
58- - name : Build ${{ matrix.example }}
63+ - name : Build ${{ matrix.example.name }}
5964 run : |
60- cd ${{ matrix.example }}
65+ cd ${{ matrix.example.name }}
6166 cmake -B build -G Ninja .
6267 cmake --build build
You can’t perform that action at this time.
0 commit comments