Parameterize compile-all-examples.sh for matrix use by gojimmypi · Pull Request #533 · wolfSSL/wolfssl-examples
Add FQBN parameter to compile_all_examples.sh to aid in GitHub workflow concurrency.
New syntax adds optional Arduino Fully Qualified Board Name as last parameter:
./compile_all_examples.sh board_list.txt [FQBN]
Background
All the examples for all the boards in board_list.txt are compiled. When the new [FQBN] is added, all the examples for that specific board are compiled. Note that the board_list.txt contains exclusions for apps known to fail (e.g. TLS on a board without networking)
Examples, script, and board list are copied to wolfssl and Arduino-wolfssl during respective workflow runs. This PR is needed to improve Arduino workflow in wolfSSL repo performance.
See tests:
This PR - Workflows in wolfssl-examples
Arduino CI Build (2 of 4) Release Arduino wolfSSL for Local Examples
Workflow in arduino-release.yml, see https://github.com/gojimmypi/wolfssl-examples/actions/runs/19397103267
Arduino CI Build (3 of 4) Latest wolfSSL for Local Examples update
Workflow in arduino.yml, see https://github.com/gojimmypi/wolfssl-examples/actions/runs/19397103269
Other repo changes needed
Arduino CI Build (1 of 4) wolfssl wolfSSL update arduino.yml
Depends on this PR merged first. Example:
Arduino CI Build (4 of 4) Arduino-wolfSSL update arduino.yml
Depends on this PR merged first. Example:
CAUTION
The enclosed Arduino/sketches/compile-all-examples.sh is pulled in by wolfssl repo workflow:
https://github.com/wolfSSL/wolfssl/blob/master/.github/workflows/arduino.yml