mirror of
https://github.com/seL4/seL4.git
synced 2026-04-05 15:00:28 +00:00
39 lines
1.1 KiB
YAML
39 lines
1.1 KiB
YAML
# 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: ubuntu-latest
|
|
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]
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: seL4/ci-actions/standalone-kernel@master
|
|
with:
|
|
ARCH: ${{ matrix.arch }}
|
|
COMPILER: ${{ matrix.compiler }}
|