@@ -15,12 +15,12 @@ jobs:
1515 runs-on : ubuntu-latest
1616 steps :
1717 - name : Setup Ruby
18- uses : actions /setup-ruby@v1
18+ uses : ruby /setup-ruby@v1
1919 with :
2020 ruby-version : ' 2.7'
2121
2222 - name : Checkout TinyUSB
23- uses : actions/checkout@v2
23+ uses : actions/checkout@v3
2424
2525 - name : Unit Tests
2626 run : |
@@ -57,51 +57,41 @@ jobs:
5757 - ' stm32f1'
5858 - ' stm32f4'
5959 - ' stm32f7'
60+ - ' stm32g4'
6061 - ' stm32h7'
6162 - ' stm32l4'
63+ - ' stm32wb'
6264 - ' tm4c123'
6365 - ' xmc4000'
6466 steps :
6567 - name : Setup Python
66- uses : actions/setup-python@v2
68+ uses : actions/setup-python@v3
69+
70+ - name : Install ARM GCC
71+ uses : carlosperate/arm-none-eabi-gcc-action@v1
72+ with :
73+ release : ' 11.2-2022.02'
6774
6875 - name : Checkout TinyUSB
69- uses : actions/checkout@v2
76+ uses : actions/checkout@v3
7077
7178 - name : Checkout common submodules in lib
7279 run : git submodule update --init lib/FreeRTOS-Kernel lib/lwip lib/sct_neopixel
7380
7481 - name : Checkout hathach/linkermap
75- uses : actions/checkout@v2
82+ uses : actions/checkout@v3
7683 with :
7784 repository : hathach/linkermap
7885 path : linkermap
7986
80- - name : Checkout pico-sdk
87+ - name : Checkout pico-sdk for rp2040
8188 if : matrix.family == 'rp2040'
8289 run : |
8390 git clone --depth 1 -b develop https://github.com/raspberrypi/pico-sdk ~/pico-sdk
8491 echo >> $GITHUB_ENV PICO_SDK_PATH=~/pico-sdk
8592
86- - name : Set Toolchain URL
87- run : echo >> $GITHUB_ENV TOOLCHAIN_URL=https://github.com/xpack-dev-tools/arm-none-eabi-gcc-xpack/releases/download/v10.2.1-1.1/xpack-arm-none-eabi-gcc-10.2.1-1.1-linux-x64.tar.gz
88-
89- - name : Cache Toolchain
90- uses : actions/cache@v2
91- id : cache-toolchain
92- with :
93- path : ~/cache/
94- key : ${{ runner.os }}-21-03-04-${{ env.TOOLCHAIN_URL }}
95-
96- - name : Install Toolchain
97- if : steps.cache-toolchain.outputs.cache-hit != 'true'
98- run : |
99- mkdir -p ~/cache/toolchain
100- wget --progress=dot:mega $TOOLCHAIN_URL -O toolchain.tar.gz
101- tar -C ~/cache/toolchain -xaf toolchain.tar.gz
102-
103- - name : Set Toolchain Path
104- run : echo >> $GITHUB_PATH `echo ~/cache/toolchain/*/bin`
93+ - name : Get Dependencies
94+ run : python3 tools/get_dependencies.py ${{ matrix.family }}
10595
10696 - name : Build
10797 run : python3 tools/build_family.py ${{ matrix.family }}
@@ -132,33 +122,18 @@ jobs:
132122
133123 steps :
134124 - name : Setup Python
135- uses : actions/setup-python@v2
125+ uses : actions/setup-python@v3
126+
127+ - name : Install ARM GCC
128+ uses : carlosperate/arm-none-eabi-gcc-action@v1
129+ with :
130+ release : ' 11.2-2022.02'
136131
137132 - name : Checkout TinyUSB
138- uses : actions/checkout@v2
133+ uses : actions/checkout@v3
139134
140135 - name : Checkout common submodules in lib
141136 run : git submodule update --init lib/FreeRTOS-Kernel lib/lwip
142137
143- - name : Set Toolchain URL
144- run : echo >> $GITHUB_ENV TOOLCHAIN_URL=https://github.com/xpack-dev-tools/arm-none-eabi-gcc-xpack/releases/download/v10.2.1-1.1/xpack-arm-none-eabi-gcc-10.2.1-1.1-linux-x64.tar.gz
145-
146- - name : Cache Toolchain
147- uses : actions/cache@v2
148- id : cache-toolchain
149- with :
150- path : ~/cache/
151- key : ${{ runner.os }}-21-03-04-${{ env.TOOLCHAIN_URL }}
152-
153- - name : Install Toolchain
154- if : steps.cache-toolchain.outputs.cache-hit != 'true'
155- run : |
156- mkdir -p ~/cache/toolchain
157- wget --progress=dot:mega $TOOLCHAIN_URL -O toolchain.tar.gz
158- tar -C ~/cache/toolchain -xaf toolchain.tar.gz
159-
160- - name : Set Toolchain Path
161- run : echo >> $GITHUB_PATH `echo ~/cache/toolchain/*/bin`
162-
163138 - name : Build
164139 run : python3 tools/build_board.py ${{ matrix.example }}
0 commit comments