Skip to content

Michaelcobb/test ci #67

Michaelcobb/test ci

Michaelcobb/test ci #67

# Copyright 2020, Data61, CSIRO (ABN 41 687 119 230)
#
# SPDX-License-Identifier: BSD-2-Clause
# Compilation actions to run on pull requests
name: Compile
on:
push:
branches:
- master
pull_request:
workflow_dispatch:
# To reduce the load we cancel any older runs of this workflow for the current
# PR. For deployment to the master branch, the workflow will run on each push,
# and the `run_id` parameter will prevent cancellation.
concurrency:
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && format('pr-{0}', github.event.number) || format('run-{0}', github.run_id) }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
jobs:
standalone_kernel:
name: kernel
runs-on: the-capable-hub-aws-ci
strategy:
fail-fast: false
matrix:
# RISCV32 and IA32 are left out, as they have no verified config
arch: [ARM, ARM_HYP, AARCH64, RISCV64, X64]
compiler: [gcc, llvm]
arch_ext: [""]
include:
- arch: RISCV64
compiler: llvm
arch_ext: "RVY"
docker_base_img: capablehub/cheri-sel4-ci-riscv-base:latest
steps:
- uses: actions/checkout@v4
- uses: The-Capable-Hub/CHERI-seL4-ci-actions/standalone-kernel@michaelcobb/capable-hub-ci
with:
ARCH: ${{ matrix.arch }}
ARCH_EXT: ${{ matrix.arch_ext }}
COMPILER: ${{ matrix.compiler }}
DOCKER_BASE_IMG: ${{ matrix.docker_base_img || 'trustworthysystems/sel4:latest' }}