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 @@ -190,30 +190,36 @@ jobs:
190190 if : ${{ runner.os == 'Windows' }} || ${{ runner.os == 'macOS' }}
191191 shell : bash # Windows only has unzip in bash shell
192192 run : |
193- unzip openocd*.zip
194- ls
195193 unzip pico-sdk-tools*.zip
196194 ls
197195 unzip picotool*.zip
198196 ls
199- unzip riscv-toolchain*.zip
197+ unzip openocd*.zip || true
198+ ls
199+ unzip riscv-toolchain*.zip || true
200200 ls
201201 - name : Extract build (tar.gz)
202202 if : ${{ runner.os == 'Linux' }}
203203 run : |
204- tar -xvf openocd*.tar.gz
205- ls
206204 tar -xvf pico-sdk-tools*.tar.gz
207205 ls
208206 tar -xvf picotool*.tar.gz
209207 ls
210- tar -xvf riscv-toolchain*.tar.gz
208+ tar -xvf openocd*.tar.gz || true
209+ ls
210+ tar -xvf riscv-toolchain*.tar.gz || true
211211 ls
212212
213- - name : Test everything runs
213+ - name : Test default stuff runs
214214 run : |
215215 ./picotool/picotool version
216216 ./pioasm/pioasm --version
217+ - name : Test openocd runs
218+ if : ${{ env.SKIP_OPENOCD != 1 }}
219+ run : |
217220 ./openocd --version
221+ - name : Test riscv-toolchain runs
222+ if : ${{ env.SKIP_RISCV != 1 }}
223+ run : |
218224 ./bin/riscv32-unknown-elf-gcc --version
219225 ./bin/riscv32-unknown-elf-gdb --version
You can’t perform that action at this time.
0 commit comments