Commit Graph

6 Commits (ffbe58d4feb02aa7751c2a3734d52cbdd22b3d09)

Author SHA1 Message Date
John Safranek 00f3e74e1c Fail the cppcheck job on a finding
The cppcheck step pipes through tee, so its exit code was lost and the
job passed with findings. Run the step under bash, which sets pipefail,
and upload the results file only when the step fails.
2026-11-01 23:51:19 -06:00
John Safranek 3c5b1e9034 CI: install apt packages from ghcr .deb bundles
Port wolfSSL's install-apt-deps action and ci-deps-image workflow. A
daily job on master downloads each package list's .debs and publishes
them as ghcr.io/wolfssl/wolfssh-ci-debs; the workflows install from
that bundle offline and fall back to the mirror with bounded retries.

- two bundles: ubuntu-24.04-tests and ubuntu-24.04-compilers
- every apt-get install step in the workflows now uses the action
- the package must be made public once after the first build; until
  then every job takes the mirror fallback
- sshd-test job timeout goes from 10 to 15 minutes to fit the install
2026-10-07 21:39:28 -05:00
John Safranek ebadd998be CI: retry apt-get and time-limit install steps
Every workflow that installs packages now passes Acquire::Retries=3
to apt-get, and each install step gets its own timeout, sized to fit
inside its job's limit, so a stalled mirror fails fast under a step
name that says what went wrong.

- cppcheck runs apt-get update before installing, and installs with -y
- sftp-test and sshd-test move their inline installs into their own
  steps
- test-fatfs job timeout goes from 4 to 10 minutes to hold its installs
2026-10-07 21:39:28 -05:00
John Safranek b7c644f92a github/workflows: upgrade actions to Node.js 24 versions 2026-05-11 22:27:00 -07:00
John Safranek eae1ecd08b GitHub Actions Update
1. Change all actions to run on push only to master, main, or a release.
2. Change all actions to run on workflow_dispatch.
2026-01-20 15:47:45 -08:00
Andrew Hutchings d108c69c5d Add cppcheck test to GitHub actions
Found and fixed:

* Fix typos in Renesas demo
* Fix uninitialized variable reads
* Fix redundant condition
* Fix argument checks
* Fix some null ptr dereferences
* Fix ambiguous statement
2025-02-05 19:49:01 +00:00