github: add exynos5 workflow for branch push #880
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copyright 2023 Proofcraft Pty Ltd | |
# | |
# SPDX-License-Identifier: BSD-2-Clause | |
# Run proofs and rebase plaform branch. | |
name: Platform Proofs Exynos 5 | |
on: | |
push: | |
branches: | |
- exynos5-ver-rebased | |
# for testing: | |
workflow_dispatch: | |
jobs: | |
code: | |
name: Freeze Code | |
runs-on: ubuntu-latest | |
outputs: | |
xml: ${{ steps.repo.outputs.xml }} | |
steps: | |
- id: repo | |
uses: seL4/ci-actions/repo-checkout@master | |
with: | |
manifest_repo: verification-manifest | |
manifest: devel.xml | |
proofs: | |
name: Proof | |
needs: code | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
arch: [ARM_HYP] | |
plat: [exynos5] | |
# test only most recent push: | |
concurrency: l4v-${{ github.ref }}-${{ strategy.job-index }} | |
steps: | |
- name: Proofs | |
uses: seL4/ci-actions/aws-proofs@master | |
with: | |
L4V_ARCH: ${{ matrix.arch }} | |
L4V_PLAT: ${{ matrix.plat }} | |
xml: ${{ needs.code.outputs.xml }} | |
NUM_DOMAINS: ${{ matrix.num_domains }} | |
env: | |
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} | |
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | |
AWS_SSH: ${{ secrets.AWS_SSH }} | |
- name: Upload kernel builds | |
uses: actions/upload-artifact@v4 | |
with: | |
name: kernel-builds-${{ matrix.num_domains }}-${{ matrix.arch }} | |
path: artifacts/kernel-builds | |
if-no-files-found: ignore | |
- name: Upload logs | |
uses: actions/upload-artifact@v4 | |
with: | |
name: logs-${{ matrix.num_domains }}-${{ matrix.arch }} | |
path: logs.tar.xz | |
push: | |
name: Push rebased branch | |
runs-on: ubuntu-latest | |
needs: [proofs] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
ref: exynos5-ver-rebased | |
fetch-depth: 0 | |
- name: Push | |
run: | | |
git config --global user.name "seL4 CI" | |
git config --global user.email "ci@sel4.systems" | |
git status | |
git push -f origin HEAD:exynos5-ver |