Commit Graph

22 Commits

Author SHA1 Message Date
David Brown d505bcf99d ci: Add multiimage ram-load and direct xip tests
Now that these are supported, add tests for them to regular CI.

Signed-off-by: David Brown <david.brown@linaro.org>
2021-07-19 11:22:13 -06:00
David Brown fb40f0c5f5 ci: Add workflow tests for direct-xip and ram-load
Although there are no tests for these cases, the configurations now are
built.  Enabling them in CI will ensure they continue to build.

Signed-off-by: David Brown <david.brown@linaro.org>
2021-07-19 11:22:13 -06:00
David Brown 8abacc834b workflow: Back off stale bot a bit
Change the stale bot to 180 days before initial flag.  In addition,
avoid issues entirely that have the 'someday' label applied.

Signed-off-by: David Brown <david.brown@linaro.org>
2021-06-25 12:53:49 -06:00
David Brown 434bca4fe3 github: Add workflow to mark stale issues
This workflow will add a 'stale' label to any issues that haven't been
modified in 60 days, and then after an additional 14 days, will close
the issue.

The template was copied from Zephyr.

Signed-off-by: David Brown <david.brown@linaro.org>
2021-05-19 14:47:41 -06:00
Salome Thirot 7084b2ff9c Workflow: enable AES256 image encryption tests
Signed-off-by: Salome Thirot <salome.thirot@arm.com>
2021-05-18 07:25:12 -03:00
David Brown fe0bfcfba9 Migrate master->main
Change references in CI and docs from 'master' to 'main' as the primary
branch has been renamed.

Signed-off-by: David Brown <david.brown@linaro.org>
2021-05-14 14:56:39 -06:00
Fabio Utzig c932b32ab0 workflows: enable Mbed TLS based EC backend tests
Enable sig-ecdsa-mbedtls and enc-ec256-mbedtls simulator tests.

Signed-off-by: Fabio Utzig <utzig@apache.org>
2021-05-06 21:05:47 -03:00
David Brown 218aee74a0 workflow: Test the Mbed TLS ECDSA configuration
Test the use of Mbed TLS with ECDSA in the simulator for the workflow
testing.

Signed-off-by: David Brown <david.brown@linaro.org>
2021-02-23 10:29:31 -07:00
Fabio Utzig 7bf5179101 ci: add caching for imgtool pip packages
Cache python dependencies for faster install and test times.

Signed-off-by: Fabio Utzig <utzig@apache.org>
2021-02-12 09:28:47 -03:00
Fabio Utzig c1b2983be0 ci: allow imgtool publishing from release branches
Allow imgtool publishing to pypi.org when versions are update on the
release branches.

Signed-off-by: Fabio Utzig <fabio.utzig@nordicsemi.no>
2021-01-13 16:53:07 -03:00
Fabio Utzig d2122bccc5 ci: fix signed-off-by checks in master
Only check signed commits for PRs.

Signed-off-by: Fabio Utzig <fabio.utzig@nordicsemi.no>
2020-11-12 16:42:58 -03:00
Fabio Utzig 6dd29072dc ci: run sim and mynewt also on master branch
Sim and Mynewt workflows were only running on pull requests, while they
should also run when new commits are pushed to master.

Signed-off-by: Fabio Utzig <fabio.utzig@nordicsemi.no>
2020-11-12 13:20:56 -03:00
Fabio Utzig 0be390e08e ci: update workflows names and add more badges
Fix workflows names on yaml root to be able to use them to refer to the
workflow. Add badges for pypi, workflows and license.

Signed-off-by: Fabio Utzig <fabio.utzig@nordicsemi.no>
2020-11-12 12:39:03 -03:00
Fabio Utzig c06694e25c ci: move imgtool publishing to GH workflows
Disable imgtool publishing on Travis; update scripts to work on both
Travis and GH; add GH workflow for publishing.

Signed-off-by: Fabio Utzig <fabio.utzig@nordicsemi.no>
2020-11-10 14:19:05 -03:00
Fabio Utzig 0d02976d56 workflows: enable bootstrap in swap-move
Also enable bootstrap in one of the swap-move tests.

Signed-off-by: Fabio Utzig <fabio.utzig@nordicsemi.no>
2020-10-05 17:11:14 -03:00
Fabio Utzig af48fcea16 ci: re-enable signed-off-by check on workflows
Enable commit signed-off-by check like previously done on Travis-CI.

Signed-off-by: Fabio Utzig <fabio.utzig@nordicsemi.no>
2020-09-29 16:22:58 -03:00
Fabio Utzig 10c97baa77 ci: split slow tests
Allow slow tests to run as separate jobs, this should speed up CI run.

Signed-off-by: Fabio Utzig <fabio.utzig@nordicsemi.no>
2020-09-26 07:47:17 -03:00
Fabio Utzig d8e2efdb01 ci: sim: rename workflow
Rename workflow to "sim"

Signed-off-by: Fabio Utzig <fabio.utzig@nordicsemi.no>
2020-09-26 07:47:17 -03:00
Fabio Utzig 61a6132cfa ci: mynewt: remove non-required features
Mynewt testing does not need git submodule so avoid cloning them. Remove
MULTI_FEATURE environment variable only used by sim.

Signed-off-by: Fabio Utzig <fabio.utzig@nordicsemi.no>
2020-09-26 07:47:17 -03:00
Fabio Utzig 78a9fd2a40 workflows: run on PR only
Remove option to run on push because it is triggering two runs for each
test for all PRs.

Signed-off-by: Fabio Utzig <fabio.utzig@nordicsemi.no>
2020-09-26 07:47:17 -03:00
David Brown 5e3b066e0a github: Add workflow to test mynewt builds
This reproduces the CI test build for Mynewt that is currently run by
Travis.

Signed-off-by: David Brown <david.brown@linaro.org>
2020-09-25 09:13:30 -03:00
David Brown 2d99cba4f2 github: Add workflow test for simulator
This adds a github workflow test that reproduces the same behavior as
the current travis workflow test (for the simulator).  Most of the work
is done by support scripts, and it is the list of tests that is
duplicated from the .travis.yaml file.

Signed-off-by: David Brown <david.brown@linaro.org>
2020-09-25 09:13:30 -03:00