File tree Expand file tree Collapse file tree 3 files changed +53
-0
lines changed Expand file tree Collapse file tree 3 files changed +53
-0
lines changed Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 7676# Include retained variables #
7777# #############################
7878
79+
80+ # Force AUTO=0 when cross-compiling to avoid host architecture detection
81+ ifneq ($(CROSS_PREFIX ) ,)
82+ override AUTO: =0
83+ else
7984AUTO ?= 1
85+ endif
86+
8087CYCLES ?=
8188OPT ?= 1
8289RETAINED_VARS := CROSS_PREFIX CYCLES OPT AUTO
You can’t perform that action at this time.
0 commit comments