File tree Expand file tree Collapse file tree 1 file changed +23
-9
lines changed Expand file tree Collapse file tree 1 file changed +23
-9
lines changed Original file line number Diff line number Diff line change 77 types :
88 - created
99
10+ env :
11+ PICO_SDK_PATH : ${{ github.workspace }}/pico-sdk
12+
1013jobs :
1114 build :
15+ strategy :
16+ fail-fast : false
17+ matrix :
18+ sdk_version :
19+ - ' 2.0.0'
20+ - ' 1.5.1'
1221 runs-on : ubuntu-latest
1322 steps :
14- - name : Checkout
15- uses : actions/checkout@v4
16-
1723 - name : Install ARM GCC
1824 uses : carlosperate/arm-none-eabi-gcc-action@v1
1925 with :
2026 release : ' 12.3.Rel1'
2127
28+ - name : Checkout
29+ uses : actions/checkout@v4
30+
2231 - name : Checkout pico-sdk
32+ uses : actions/checkout@v4
33+ with :
34+ repository : raspberrypi/pico-sdk
35+ ref : ${{ matrix.sdk_version }}
36+ path : pico-sdk
37+
38+ - name : Checkout TinyUSB
2339 run : |
24- git clone --depth 1 -b develop https://github.com/raspberrypi/pico-sdk ~/pico-sdk
25- echo >> $GITHUB_ENV PICO_SDK_PATH=~/pico-sdk
2640 # checkout tinyusb in pico-sdk and switch to master branch
27- git -C ~/pico-sdk submodule update --init
28- git -C ~/pico-sdk /lib/tinyusb fetch
29- git -C ~/pico-sdk /lib/tinyusb checkout master
41+ git -C $PICO_SDK_PATH submodule update --init
42+ git -C $PICO_SDK_PATH /lib/tinyusb fetch
43+ git -C $PICO_SDK_PATH /lib/tinyusb checkout master
3044
3145 - name : Build
3246 run : |
3650 cmake ..
3751 make
3852
39- - uses : actions/upload-artifact@v3
53+ - uses : actions/upload-artifact@v4
4054 with :
4155 name : example_binaries
4256 path : |
You can’t perform that action at this time.
0 commit comments