File tree Expand file tree Collapse file tree 1 file changed +13
-7
lines changed
Expand file tree Collapse file tree 1 file changed +13
-7
lines changed Original file line number Diff line number Diff line change @@ -230,30 +230,36 @@ jobs:
230230 if : ${{ runner.os == 'Windows' }} || ${{ runner.os == 'macOS' }}
231231 shell : bash # Windows only has unzip in bash shell
232232 run : |
233- unzip openocd*.zip
234- ls
235233 unzip pico-sdk-tools*.zip
236234 ls
237235 unzip picotool*.zip
238236 ls
239- unzip riscv-toolchain*.zip
237+ unzip openocd*.zip || true
238+ ls
239+ unzip riscv-toolchain*.zip || true
240240 ls
241241 - name : Extract build (tar.gz)
242242 if : ${{ runner.os == 'Linux' }}
243243 run : |
244- tar -xvf openocd*.tar.gz
245- ls
246244 tar -xvf pico-sdk-tools*.tar.gz
247245 ls
248246 tar -xvf picotool*.tar.gz
249247 ls
250- tar -xvf riscv-toolchain*.tar.gz
248+ tar -xvf openocd*.tar.gz || true
249+ ls
250+ tar -xvf riscv-toolchain*.tar.gz || true
251251 ls
252252
253- - name : Test everything runs
253+ - name : Test default stuff runs
254254 run : |
255255 ./picotool/picotool version
256256 ./pioasm/pioasm --version
257+ - name : Test openocd runs
258+ if : ${{ env.SKIP_OPENOCD != 1 }}
259+ run : |
257260 ./openocd --version
261+ - name : Test riscv-toolchain runs
262+ if : ${{ env.SKIP_RISCV != 1 }}
263+ run : |
258264 ./bin/riscv32-unknown-elf-gcc --version
259265 ./bin/riscv32-unknown-elf-gdb --version
You can’t perform that action at this time.
0 commit comments