Commit graph

82 commits

Author SHA1 Message Date
Gerwin Klein
f236ae8935 github: trigger main test on push to master
The trigger action sends repository_dispatch events to all
main test repositories of the manifests this repo is part of.

Signed-off-by: Gerwin Klein <gerwin.klein@proofcraft.systems>
2021-08-27 14:08:23 +10:00
Gerwin Klein
43b2029d02 github: clearer top-level name for compile action
Previous "Kernel" showed up for the badge and main checks group, which
is not very informative.

Signed-off-by: Gerwin Klein <gerwin.klein@proofcraft.systems>
2021-08-20 13:42:48 +10:00
Gerwin Klein
76532c1eae github: more fine-grained concurrency groups
Previously the `concurrency` statement also prevented concurrency
within the build matrix which we do not want.

Signed-off-by: Gerwin Klein <gerwin.klein@proofcraft.systems>
2021-08-20 13:42:48 +10:00
Gerwin Klein
acbc4e6ddf github: separate sel4test for deployment on master
This commit pulls out a separate workflow for sel4test (simulation +
hardware runs) on pushes to master, and deploys a new default.xml to
sel4test-manifest when the test is successful.

Signed-off-by: Gerwin Klein <gerwin.klein@proofcraft.systems>
2021-08-20 12:05:03 +10:00
Gerwin Klein
82e7a0251d git hw test: enable zynqmp
Signed-off-by: Gerwin Klein <gerwin.klein@proofcraft.systems>
2021-08-19 08:46:24 +10:00
Gerwin Klein
dbab25c8d3 github: deploy verification-manifest on preprocess
Automatically keep verification-manifest in sync with
preprocess-equivalent changes.

Signed-off-by: Gerwin Klein <gerwin.klein@proofcraft.systems>
2021-08-18 16:58:57 +10:00
Gerwin Klein
697430abf0 github: enable hw test for imx8mm
Signed-off-by: Gerwin Klein <gerwin.klein@proofcraft.systems>
2021-08-16 15:56:45 +10:00
Gerwin Klein
7f08674bb7 github: add TX2 to hardware test
Signed-off-by: Gerwin Klein <gerwin.klein@proofcraft.systems>
2021-08-13 18:16:54 +10:00
Gerwin Klein
1324734ffb github: adjust event name
Trigger moved to pull_request_target, so event name is changing as well.

Signed-off-by: Gerwin Klein <gerwin.klein@proofcraft.systems>
2021-08-12 18:24:07 +10:00
Gerwin Klein
2e59eeae7d github: remove test branch trigger
Signed-off-by: Gerwin Klein <gerwin.klein@proofcraft.systems>
2021-08-12 18:24:07 +10:00
Gerwin Klein
f975153948 github/hw: rpi3 power-up not fully stable yet
Signed-off-by: Gerwin Klein <gerwin.klein@proofcraft.systems>
2021-08-10 17:54:24 +10:00
Gerwin Klein
934fc2642b github: split off more x86 sessions
More x86 boards have become available, so we can have one session
per mode and compiler.

Signed-off-by: Gerwin Klein <gerwin.klein@proofcraft.systems>
2021-08-10 17:54:24 +10:00
Gerwin Klein
302339fd8a for testing only
Signed-off-by: Gerwin Klein <gerwin.klein@proofcraft.systems>
2021-08-10 17:54:24 +10:00
Gerwin Klein
0fa13e059a github: add action for hardware test runs
This switched the action from pull_request to pull_request_target,
because we need access to secrets. GITHUB_TOKEN permissions are
downgraded to PR-like permissions, and the action needs to be triggered
manually by labelling with label 'hw-test'.

Signed-off-by: Gerwin Klein <gerwin.klein@proofcraft.systems>
2021-08-10 17:54:24 +10:00
Gerwin Klein
d93aa01459 github: split sel4test into separate workflows
The reason is that with separate workflow files allow different
triggers. In particular, we don't want to re-run all simulations
on all `labeled` triggers, but if we explicitly skip the simulation
job for those triggers, than previous simulation runs are not
shown any more in the GitHub check status, so failed runs will be
overlooked.

This should achieve both: no unnecessary runs, and visible status.

Signed-off-by: Gerwin Klein <gerwin.klein@proofcraft.systems>
2021-07-26 21:04:52 +10:00
Gerwin Klein
4cdd97c532 github: use correct label field
The trigger matched against the whole label object, not the name as
it should have.

Signed-off-by: Gerwin Klein <gerwin.klein@proofcraft.systems>
2021-07-26 21:04:52 +10:00
Gerwin Klein
f1ac3d829e github sel4test: don't run on PRs to docs
Save some checking time for changes that are to docs only and
don't affect sources.

Signed-off-by: Gerwin Klein <gerwin.klein@proofcraft.systems>
2021-07-26 14:58:09 +10:00
Gerwin Klein
bd9a8b2ff7 github: constrain triggers for longer builds
The previous trigger would start duplicate builds for each new
label added to a PR. This commit locks this down a bit more so
that builds only run when the trigger label is added or on other
triggers when the label is present.

Signed-off-by: Gerwin Klein <gerwin.klein@proofcraft.systems>
2021-07-26 14:58:09 +10:00
Gerwin Klein
52a89f9e0f github: add action for hardware builds
The action is triggered on push to master or when the label "hw-build"
is present on pull requests.

Signed-off-by: Gerwin Klein <gerwin.klein@proofcraft.systems>
2021-07-26 14:58:09 +10:00
Gerwin Klein
c650c41848 github: run SimplExportAndRefine conditionally
The SimplExportAndRefine session is one of the steps of binary
verification and only available for ARM and RISCV64.

Signed-off-by: Gerwin Klein <gerwin.klein@proofcraft.systems>
2021-07-16 11:11:13 +10:00
Gerwin Klein
0665ae3edd github: add C proof check on labelled PR
This action will run the C proofs when the label `proof-test` is added
to a pull request. Intended to be used when the preprocess test has
failed and the PR is ready to check proofs.

Signed-off-by: Gerwin Klein <gerwin.klein@proofcraft.systems>
2021-07-16 08:12:28 +10:00
Gerwin Klein
1dcff9cc20 Add GitHub action for sel4test simulation runs
Signed-off-by: Gerwin Klein <gerwin.klein@proofcraft.systems>
2021-07-05 12:57:20 +10:00
Gerwin Klein
c6238208bb github: run C parser on push/PR
This action runs the verification C parser on the main kernel
configurations to check that the code is in the C verification subset.

Signed-off-by: Gerwin Klein <gerwin.klein@proofcraft.systems>
2021-06-30 14:04:00 +10:00
Gerwin Klein
d1643774cd github: CI action to lint libsel4 IDL files
This will lint everything called `sel4*.xml` under `libsel4/`.

Signed-off-by: Gerwin Klein <gerwin.klein@proofcraft.systems>
2021-06-22 11:26:17 +10:00
Gerwin Klein
95fda2bcc1 github: add a GitHub action to build the manual
This will build a PDF of the reference manual in draft mode
and upload that PDF as a build artifact.

Signed-off-by: Gerwin Klein <gerwin.klein@proofcraft.systems>
2021-06-18 08:35:55 +10:00
Gerwin Klein
41497c6e60 Add MCS to the preprocess check
Signed-off-by: Gerwin Klein <gerwin.klein@proofcraft.systems>
2021-05-07 09:54:27 +10:00
Luke Mondy
98ca559bb3
CI: Add a PR check to do a stand-alone kernel compilation (#236)
CI: PR check to do a stand-alone kernel compile

On a PR, compile all verified configs of seL4.

Signed-off-by: Luke Mondy <luke.mondy@data61.csiro.au>
Co-authored-by: Luke Mondy <luke.mondy@data61.csiro.au>
2020-08-11 16:22:04 +08:00
Gerwin Klein
ab5b6bd6bf Refactor github workflows; add preprocess test
This commit refactors the github workflows into two
file (push/pull request), makes use of the new central
seL4 github actions, and adds the preprocess test for
pull requests.

Signed-off-by: Gerwin Klein <gerwin.klein@data61.csiro.au>
2020-06-18 12:47:54 +10:00
Gerwin Klein
62b37194a5 github: invoke git status correctly
The -u option takes its argument without space.

Signed-off-by: Gerwin Klein <gerwin.klein@data61.csiro.au>
2020-05-12 11:09:01 +08:00
Gerwin Klein
8a5ee2b5f8 github: sync with test invocation on bamboo
This should not change behaviour, but makes sure we replicate the test
setup more precisely.

Signed-off-by: Gerwin Klein <gerwin.klein@data61.csiro.au>
2020-05-12 11:08:22 +08:00
Gerwin Klein
a4b1e347f6 github: use gitlint config from sel4_tools
Previously, gitlint would use the configuration from the local
repository only.

Signed-off-by: Gerwin Klein <gerwin.klein@data61.csiro.au>
2020-05-12 11:07:46 +08:00
Gerwin Klein
3f9a4cd809 github: add workflow actions for style checks
This replicates some of the TS-internal CI checks directly on github
for faster feedback.

Signed-off-by: Gerwin Klein <gerwin.klein@data61.csiro.au>
2020-05-05 11:22:09 +10:00