Skip to content

Conversation

gojimmypi
Copy link
Contributor

@gojimmypi gojimmypi commented Aug 12, 2025

Description

This is part 3 of 3 improving Arduino examples and related GitHub workflows. See also wolfssl #9091 and wolfssl-examples #519

Adds new .github/workflows/arduino.yml testing workflow. Tests against local wolfSSL Arduino release.

Adds .github/SECURITY.md, same as https://github.com/wolfSSL/wolfssl/blob/master/.github/SECURITY.md

There's a bit of a chicken-and-egg problem with the 3 inter-related pull requests. For now, this one uses board_list_v5.8.2.txt but should be later updated to use board_list.txt

Enclosed

Arduino CI Build 4: https://github.com/$REPO_OWNER/Arduino-wolfssl /.github/workflows/arduino.yml
- Assembles and installs an updated Arduino wolfssl library from LOCAL wolfssl master source
- Copies only compile script copied from wolfssl-examples
- Builds local examples
- No other repos used

The other 2 parts (wolfssl-examples and Arduino-wolfssl repos)

wolfssl

See wolfSSL/wolfssl#9091:

Arduino CI Build 1: https://github.com/$REPO_OWNER/wolfssl /.github/workflows/arduino.yml

wolfssl-examples

See wolfSSL/wolfssl-examples#519:

Arduino CI Build 2: https://github.com/$REPO_OWNER/wolfssl-examples /.github/workflows/arduino-release.yml
- Tests examples based on latest published release of Arduino library, NOT latest on wolfssl github.
- Should be identical to Arduino CI Build 3 in every way but wolfssl install.
- Copies only compile script from wolfssl-examples
- Builds local examples
- No other repos used

Arduino CI Build 3: https://github.com/$REPO_OWNER/wolfssl-examples /.github/workflows/arduino.yml

  • Fetches current wolfSSL from https://github.com/$REPO_OWNER/wolfssl
  • Creates an updated Arduino library
  • Compiles local examples
  • Contains the source of compile-all-examples.sh and respective board-list.txt

See also my dev examples:

@gojimmypi
Copy link
Contributor Author

For the reasons noted in wolfSSL/wolfssl#9091 (comment) -

I've removed the artifact-saving step in the arduino.yml workflow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants