|
31 | 31 | run: git config --global --add safe.directory "$GITHUB_WORKSPACE" |
32 | 32 |
|
33 | 33 | - name: Install Clang |
34 | | - if: inputs.arch == 'arm' || inputs.arch == 'ARM' |
| 34 | + if: | |
| 35 | + inputs.config-file == './config/examples/stm32c0.config' || |
| 36 | + inputs.config-file == './config/examples/stm32c0-rsa2048.config' || |
| 37 | + inputs.config-file == './config/examples/stm32h5.config' || |
| 38 | + inputs.config-file == './config/examples/stm32h5-dualbank.config' || |
| 39 | + inputs.config-file == './config/examples/stm32h7.config' || |
| 40 | + inputs.config-file == './config/examples/stm32h7-octospi.config' || |
| 41 | + inputs.config-file == './config/examples/stm32u5.config' || |
| 42 | + inputs.config-file == './config/examples/stm32u5-wolfcrypt-tz.config' || |
| 43 | + inputs.config-file == './config/examples/stm32u5-nonsecure-dualbank.config' || |
| 44 | + inputs.config-file == 'config/examples/stm32n567.config' |
35 | 45 | run: | |
36 | 46 | sudo apt-get install -y clang |
37 | 47 |
|
|
52 | 62 | make ${{inputs.make-args}} |
53 | 63 |
|
54 | 64 | - name: Rebuild wolfboot with Clang |
55 | | - if: inputs.arch == 'arm' || inputs.arch == 'ARM' |
| 65 | + if: | |
| 66 | + inputs.config-file == './config/examples/stm32c0.config' || |
| 67 | + inputs.config-file == './config/examples/stm32c0-rsa2048.config' || |
| 68 | + inputs.config-file == './config/examples/stm32h5.config' || |
| 69 | + inputs.config-file == './config/examples/stm32h5-dualbank.config' || |
| 70 | + inputs.config-file == './config/examples/stm32h7.config' || |
| 71 | + inputs.config-file == './config/examples/stm32h7-octospi.config' || |
| 72 | + inputs.config-file == './config/examples/stm32u5.config' || |
| 73 | + inputs.config-file == './config/examples/stm32u5-wolfcrypt-tz.config' || |
| 74 | + inputs.config-file == './config/examples/stm32u5-nonsecure-dualbank.config' || |
| 75 | + inputs.config-file == 'config/examples/stm32n567.config' |
56 | 76 | run: | |
57 | 77 | make distclean |
58 | 78 | cp ${{inputs.config-file}} .config |
|
0 commit comments