3333 arch : aarch64
3434 mode : native
3535 nix_shell : ci
36+ - runner : ubuntu-24.04-arm
37+ name : ' aarch64, no Neon'
38+ arch : aarch64
39+ mode : native
40+ nix_shell : ci
41+ cflags : ' -march=armv8-a+nosimd'
42+ extra_args : ' --no-auto'
3643 - runner : ubuntu-24.04-arm
3744 name : ' x86_64, cross'
3845 arch : x86_64
@@ -111,6 +118,7 @@ jobs:
111118 nix-cache : ${{ matrix.target.mode == 'native' && 'false' || 'true' }}
112119 gh_token : ${{ secrets.GITHUB_TOKEN }}
113120 compile_mode : ${{ matrix.target.mode }}
121+ cflags : ${{ matrix.target.cflags || '' }}
114122 extra_args : ${{ matrix.target.extra_args || '' }}
115123 exec_wrapper : ${{ matrix.target.exec_wrapper || '' }}
116124 opt : ' no_opt'
@@ -121,8 +129,9 @@ jobs:
121129 nix-shell : ${{ matrix.target.nix_shell }}
122130 gh_token : ${{ secrets.GITHUB_TOKEN }}
123131 compile_mode : native
124- cflags : " -DMLKEM_DEBUG -fsanitize=address -fsanitize=undefined -fno-sanitize-recover=all"
132+ cflags : " ${{ matrix.target.cflags || '' }} -DMLKEM_DEBUG -fsanitize=address -fsanitize=undefined -fno-sanitize-recover=all"
125133 ldflags : " -fsanitize=address -fsanitize=undefined -fno-sanitize-recover=all"
134+ extra_args : ${{ matrix.target.extra_args || '' }}
126135 check_namespace : ' false'
127136 - name : build + test (cross, opt)
128137 uses : ./.github/actions/multi-functest
@@ -133,6 +142,7 @@ jobs:
133142 nix-cache : ${{ matrix.target.mode == 'native' && 'false' || 'true' }}
134143 gh_token : ${{ secrets.GITHUB_TOKEN }}
135144 compile_mode : ${{ matrix.target.mode }}
145+ cflags : ${{ matrix.target.cflags || '' }}
136146 extra_args : ${{ matrix.target.extra_args || '' }}
137147 exec_wrapper : ${{ matrix.target.exec_wrapper || '' }}
138148 opt : ' opt'
@@ -147,7 +157,7 @@ jobs:
147157 compile_mode : ${{ matrix.target.mode }}
148158 extra_args : ${{ matrix.target.extra_args || '' }}
149159 exec_wrapper : ${{ matrix.target.exec_wrapper || '' }}
150- cflags : " -DMLKEM_DEBUG"
160+ cflags : " ${{ matrix.target.cflags || '' }} -DMLKEM_DEBUG"
151161 opt : ' opt'
152162 - name : build + test (cross, opt, C90)
153163 uses : ./.github/actions/multi-functest
@@ -159,7 +169,7 @@ jobs:
159169 compile_mode : ${{ matrix.target.mode }}
160170 extra_args : ${{ matrix.target.extra_args || '' }}
161171 exec_wrapper : ${{ matrix.target.exec_wrapper || '' }}
162- cflags : " -std=c90"
172+ cflags : " ${{ matrix.target.cflags || '' }} -std=c90"
163173 opt : ' opt'
164174 ppc64le_tests :
165175 if : github.repository_owner == 'pq-code-package' && !github.event.pull_request.head.repo.fork
0 commit comments