Skip to content

Commit 298d67f

Browse files
committed
CI: Add Baremetal CI
- Adds CI to exercise the MPS3 AN547 (Cortex-M55) baremetal builds. - It includes functional tests, KAT tests, and ACVP tests. Signed-off-by: willieyz <[email protected]>
1 parent ec2f3a7 commit 298d67f

File tree

2 files changed

+47
-0
lines changed

2 files changed

+47
-0
lines changed

.github/workflows/all.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,3 +87,11 @@ jobs:
8787
needs: [ base, nix ]
8888
uses: ./.github/workflows/slothy.yml
8989
secrets: inherit
90+
baremetal:
91+
name: Baremetal
92+
permissions:
93+
contents: 'read'
94+
id-token: 'write'
95+
needs: [ base ]
96+
uses: ./.github/workflows/baremetal.yml
97+
secrets: inherit

.github/workflows/baremetal.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# Copyright (c) The mldsa-native project authors
2+
# Copyright (c) The mlkem-native project authors
3+
# SPDX-License-Identifier: Apache-2.0 OR ISC OR MIT
4+
5+
name: Baremetal
6+
permissions:
7+
contents: read
8+
on:
9+
workflow_call:
10+
workflow_dispatch:
11+
12+
jobs:
13+
baremetal_tests:
14+
name: Baremetal tests (${{ matrix.target.name }})
15+
strategy:
16+
fail-fast: false
17+
matrix:
18+
target:
19+
- runner: ubuntu-latest
20+
name: 'M55-AN547'
21+
makefile: test/baremetal/platform/m55-an547/platform.mk
22+
nix-shell: arm-embedded
23+
runs-on: ${{ matrix.target.runner }}
24+
steps:
25+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
26+
- name: baremetal build + test
27+
uses: ./.github/actions/functest
28+
env:
29+
EXTRA_MAKEFILE: ${{ matrix.target.makefile }}
30+
with:
31+
nix-shell: ${{ matrix.target.nix-shell }}
32+
gh_token: ${{ secrets.GITHUB_TOKEN }}
33+
opt: no_opt
34+
func: true
35+
kat: true
36+
acvp: true
37+
examples: false
38+
stack: false
39+
extra_args: --no-auto

0 commit comments

Comments
 (0)