Skip to content

Commit eb9e9cd

Browse files
mkannwischerhanno-becker
authored andcommitted
CI: Add native ppc64le (POWER10) CI
Courtesy of Basil Hess/IBM, we know have a self-hosted POWER10 runner. This commit adds functional tests to CI. I had attempted to add it to the existign "kat_tests", but the sanitizer tests don't work properly on that platform. Note that opt tests are already enabled so that #1193 can simply be rebased on top of this. Signed-off-by: Matthias J. Kannwischer <matthias@kannwischer.eu>
1 parent 19b5b63 commit eb9e9cd

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.github/workflows/ci.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,22 @@ jobs:
173173
compile_mode: ${{ matrix.target.mode }}
174174
cflags: "-DMLKEM_DEBUG"
175175
opt: 'opt'
176+
ppc64le_tests:
177+
if: github.repository_owner == 'pq-code-package' && !github.event.pull_request.head.repo.fork
178+
name: Functional tests (ppc64le/POWER10, native)
179+
runs-on: pqcp-ppc64
180+
steps:
181+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
182+
- name: build + test
183+
uses: ./.github/actions/multi-functest
184+
with:
185+
nix-shell: ''
186+
cflags: "-DMLK_FORCE_PPC64LE"
187+
- name: build + test (+debug)
188+
uses: ./.github/actions/multi-functest
189+
with:
190+
nix-shell: ''
191+
cflags: "-DMLKEM_DEBUG -DMLK_FORCE_PPC64LE"
176192
backend_tests:
177193
name: AArch64 FIPS202 backends (${{ matrix.backend }})
178194
strategy:

0 commit comments

Comments
 (0)