File tree Expand file tree Collapse file tree
test/baremetal/platform/nucleo-n657x0-q Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,3 +10,4 @@ self-hosted-runner:
1010 - pqcp-arm64
1111 - pqcp-ppc64
1212 - pqcp-x64
13+ - self-hosted-nucleo-n657x0
Original file line number Diff line number Diff line change @@ -79,11 +79,22 @@ jobs:
7979 bench_extra_args : " -r"
8080 nix_shell : ' '
8181 cross_prefix : " "
82+ - system : nucleo-n657x0
83+ name : Arm Cortex-M55 (NUCLEO-N657X0-Q) benchmarks
84+ bench_pmu : PMU
85+ archflags : " "
86+ cflags : " "
87+ ldflags : " "
88+ bench_extra_args : " "
89+ nix_shell : nucleo-n657x0-q
90+ cross_prefix : " "
8291 if : github.repository_owner == 'pq-code-package' && (github.event.label.name == 'benchmark' || github.ref == 'refs/heads/main')
8392 runs-on : self-hosted-${{ matrix.target.system }}
8493 steps :
8594 - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
8695 - uses : ./.github/actions/bench
96+ env :
97+ EXTRA_MAKEFILE : ${{ matrix.target.system == 'nucleo-n657x0' && 'test/baremetal/platform/nucleo-n657x0-q/platform.mk' || '' }}
8798 with :
8899 name : ${{ matrix.target.name }}
89100 cflags : ${{ matrix.target.cflags }}
Original file line number Diff line number Diff line change @@ -191,6 +191,29 @@ jobs:
191191 nix-shell : ' '
192192 gh_token : ${{ secrets.GITHUB_TOKEN }}
193193 cflags : " -DMLKEM_DEBUG -DMLK_FORCE_PPC64LE"
194+ nucleo_n657x0_q_tests :
195+ if : github.repository_owner == 'pq-code-package' && !github.event.pull_request.head.repo.fork
196+ name : Functional tests (NUCLEO-N657X0-Q)
197+ runs-on : self-hosted-nucleo-n657x0
198+ steps :
199+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
200+ - name : baremetal build + test
201+ uses : ./.github/actions/functest
202+ env :
203+ EXTRA_MAKEFILE : test/baremetal/platform/nucleo-n657x0-q/platform.mk
204+ with :
205+ nix-shell : nucleo-n657x0-q
206+ gh_token : ${{ secrets.GITHUB_TOKEN }}
207+ opt : no_opt
208+ func : true
209+ kat : false
210+ acvp : false
211+ wycheproof : false
212+ examples : false
213+ stack : false
214+ unit : false
215+ alloc : false
216+ rng_fail : false
194217 backend_tests :
195218 name : AArch64 FIPS202 backends (${{ matrix.backend }})
196219 strategy :
Original file line number Diff line number Diff line change @@ -132,7 +132,18 @@ FLEXMEM_CONFIG_SOURCES := \
132132
133133.PHONY : flexmem_config run_flexmem_config run_flexmem_test
134134
135- run_kat run_acvp run_bench run_func run_unit run_alloc : run_flexmem_config
135+ NUCLEO_N657X0_Q_RUN_TARGETS := \
136+ run_func run_func_512 run_func_768 run_func_1024 \
137+ run_kat run_kat_512 run_kat_768 run_kat_1024 \
138+ run_acvp \
139+ run_bench run_bench_512 run_bench_768 run_bench_1024 \
140+ run_bench_components run_bench_components_512 run_bench_components_768 run_bench_components_1024 \
141+ run_unit run_unit_512 run_unit_768 run_unit_1024 \
142+ run_alloc run_alloc_512 run_alloc_768 run_alloc_1024 \
143+ run_rng_fail run_rng_fail_512 run_rng_fail_768 run_rng_fail_1024 \
144+ run_wycheproof
145+
146+ $(NUCLEO_N657X0_Q_RUN_TARGETS ) : run_flexmem_config
136147
137148flexmem_config : $(FLEXMEM_CONFIG_ELF )
138149
You can’t perform that action at this time.
0 commit comments