Skip to content

Add STSAFE A120 CI support#10375

Open
LinuxJedi wants to merge 1 commit intowolfSSL:masterfrom
LinuxJedi:STSAFEA120Sim
Open

Add STSAFE A120 CI support#10375
LinuxJedi wants to merge 1 commit intowolfSSL:masterfrom
LinuxJedi:STSAFEA120Sim

Conversation

@LinuxJedi
Copy link
Copy Markdown
Member

Adds our STSAFE A120 simulator to the CI, adds STSAFE to configure.ac and fix missing required header.

Adds our STSAFE A120 simulator to the CI, adds STSAFE to configure.ac
and fix missing required header.
Copilot AI review requested due to automatic review settings May 1, 2026 06:15
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds autotools and CI wiring to build/test wolfCrypt against the STSAFE-A120 simulator, and aligns the STSAFE port source inclusion with an explicit ./configure option.

Changes:

  • Fix STSAFE-A120 build by including stse_platform_generic.h before stselib.h.
  • Add ./configure --enable-stsafe[=a100|a120] and a BUILD_STSAFE automake conditional to compile stsafe.c only when enabled.
  • Add a new GitHub Actions workflow to build and run the STSAFE-A120 simulator-based test in CI.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

File Description
wolfcrypt/src/port/st/stsafe.c Adds required STSELib platform header include for A120 builds.
wolfcrypt/src/include.am Moves stsafe.c into conditional library sources guarded by BUILD_STSAFE.
configure.ac Introduces --enable-stsafe flag (a100/a120) and corresponding automake conditional + config summary output.
.github/workflows/stsafe-a120-sim.yml New CI job to build the simulator container with PR sources and run STSAFE-A120 tests.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@LinuxJedi
Copy link
Copy Markdown
Member Author

Jenkins retest this please, Windows failures.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 1, 2026

MemBrowse Memory Report

No memory changes detected for:

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