2020-08-08 10:38:41 +00:00
|
|
|
# Copyright 2020, Data61, CSIRO (ABN 41 687 119 230)
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: BSD-2-Clause
|
|
|
|
|
|
|
|
name: Proofs
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
2020-08-09 09:56:36 +00:00
|
|
|
- master
|
2020-08-08 10:38:41 +00:00
|
|
|
- rt
|
|
|
|
pull_request:
|
|
|
|
|
|
|
|
jobs:
|
2020-08-25 12:08:59 +00:00
|
|
|
haskell:
|
|
|
|
name: Haskell
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
strategy:
|
|
|
|
fail-fast: false
|
|
|
|
matrix:
|
|
|
|
arch: [ARM]
|
|
|
|
steps:
|
2020-08-25 13:18:19 +00:00
|
|
|
- name: Cache ~/.stack
|
|
|
|
uses: actions/cache@v2
|
|
|
|
with:
|
|
|
|
path: ~/.stack
|
|
|
|
key: ${{ runner.os }}-stack-${{ github.sha }}
|
|
|
|
restore-keys: ${{ runner.os }}-stack-
|
2020-08-25 12:08:59 +00:00
|
|
|
- name: compile Haskell
|
|
|
|
uses: seL4/ci-actions/run-proofs@master
|
|
|
|
with:
|
|
|
|
L4V_ARCH: ${{ matrix.arch }}
|
|
|
|
session: HaskellKernel tests-xml-correct
|
|
|
|
|
2020-08-08 10:38:41 +00:00
|
|
|
ainvs:
|
|
|
|
name: AInvs
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
strategy:
|
|
|
|
fail-fast: false
|
|
|
|
matrix:
|
|
|
|
arch: [ARM]
|
|
|
|
steps:
|
2020-08-09 09:56:12 +00:00
|
|
|
- name: Cache Isabelle Images
|
|
|
|
uses: actions/cache@v2
|
|
|
|
with:
|
|
|
|
path: cache/
|
|
|
|
key: ${{ runner.os }}-${{ matrix.arch }}-images-${{ github.sha }}
|
|
|
|
restore-keys: ${{ runner.os }}-${{ matrix.arch }}-images
|
|
|
|
- name: Run Proofs
|
|
|
|
uses: seL4/ci-actions/run-proofs@master
|
2020-08-08 10:38:41 +00:00
|
|
|
with:
|
|
|
|
L4V_ARCH: ${{ matrix.arch }}
|
2020-08-25 12:08:59 +00:00
|
|
|
session: ExecSpec ASpecDoc AInvs
|
2020-08-10 00:52:27 +00:00
|
|
|
|
|
|
|
refine:
|
|
|
|
name: Refine
|
|
|
|
needs: ainvs
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
strategy:
|
|
|
|
fail-fast: false
|
|
|
|
matrix:
|
|
|
|
arch: [ARM]
|
|
|
|
steps:
|
|
|
|
- name: Cache Isabelle Images
|
|
|
|
uses: actions/cache@v2
|
|
|
|
with:
|
|
|
|
path: cache/
|
|
|
|
key: ${{ runner.os }}-${{ matrix.arch }}-images-${{ github.sha }}
|
|
|
|
restore-keys: ${{ runner.os }}-${{ matrix.arch }}-images
|
|
|
|
- name: Run Proofs
|
|
|
|
uses: seL4/ci-actions/run-proofs@master
|
|
|
|
with:
|
|
|
|
L4V_ARCH: ${{ matrix.arch }}
|
|
|
|
session: Refine
|