2021-07-12 05:18:04 +00:00
|
|
|
# Copyright 2021 Proofcraft Pty Ltd
|
2020-08-08 10:38:41 +00:00
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: BSD-2-Clause
|
|
|
|
|
2023-06-06 00:08:57 +00:00
|
|
|
name: Proof PR
|
2020-08-08 10:38:41 +00:00
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
2021-08-16 07:46:17 +00:00
|
|
|
paths-ignore:
|
|
|
|
- '**.md'
|
|
|
|
- '**.txt'
|
2020-08-08 10:38:41 +00:00
|
|
|
branches:
|
|
|
|
- rt
|
2021-07-12 05:42:55 +00:00
|
|
|
# this action needs access to secrets.
|
|
|
|
# The actual test runs in a no-privilege VM, so it's Ok to run on untrusted PRs.
|
|
|
|
pull_request_target:
|
2021-08-16 07:46:17 +00:00
|
|
|
paths-ignore:
|
|
|
|
- '**.md'
|
|
|
|
- '**.txt'
|
2022-01-20 01:55:16 +00:00
|
|
|
branches-ignore:
|
|
|
|
- aarch64
|
2020-08-08 10:38:41 +00:00
|
|
|
|
|
|
|
jobs:
|
2023-01-23 03:48:38 +00:00
|
|
|
proofs:
|
2021-07-12 05:42:55 +00:00
|
|
|
name: All
|
2020-09-07 10:09:26 +00:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
strategy:
|
|
|
|
fail-fast: false
|
|
|
|
matrix:
|
2022-01-20 02:10:08 +00:00
|
|
|
arch: [ARM, ARM_HYP, AARCH64, RISCV64, X64]
|
2022-01-10 23:45:45 +00:00
|
|
|
# test only most recent push to PR:
|
2022-01-20 01:58:04 +00:00
|
|
|
concurrency: l4v-pr-${{ github.event.number }}-idx-${{ strategy.job-index }}
|
2020-09-07 10:09:26 +00:00
|
|
|
steps:
|
2021-07-12 05:18:04 +00:00
|
|
|
- name: Proofs
|
2021-07-12 05:42:55 +00:00
|
|
|
uses: seL4/ci-actions/aws-proofs@master
|
2020-09-07 10:09:26 +00:00
|
|
|
with:
|
|
|
|
L4V_ARCH: ${{ matrix.arch }}
|
2022-03-29 23:14:28 +00:00
|
|
|
session: '-x AutoCorresSEL4' # exclude large AutoCorresSEL4 session for PRs
|
2021-07-12 05:42:55 +00:00
|
|
|
env:
|
|
|
|
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
|
|
|
|
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
|
|
|
AWS_SSH: ${{ secrets.AWS_SSH }}
|
2021-07-14 09:25:00 +00:00
|
|
|
GH_HEAD_SHA: ${{ github.event.pull_request.head.sha }}
|
2023-01-23 03:48:38 +00:00
|
|
|
- name: Upload kernel builds
|
|
|
|
uses: actions/upload-artifact@v3
|
|
|
|
with:
|
|
|
|
name: kernel-builds
|
|
|
|
path: artifacts/kernel-builds
|
|
|
|
if-no-files-found: ignore
|
2021-07-13 07:40:27 +00:00
|
|
|
- name: Upload logs
|
2022-11-11 00:21:27 +00:00
|
|
|
uses: actions/upload-artifact@v3
|
2021-07-13 07:40:27 +00:00
|
|
|
with:
|
|
|
|
name: logs-${{ matrix.arch }}
|
|
|
|
path: logs.tar.xz
|