@@ -134,23 +134,33 @@ jobs:
134134    runs-on : ${{ matrix.target.runner }} 
135135    steps :
136136      - uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8  #  v5.0.0
137-       - name : build + test 
137+       - name : build + test (no-opt)  
138138        uses : ./.github/actions/multi-functest 
139139        with :
140140          nix-shell : ${{ matrix.target.nix_shell }} 
141141          nix-cache : ${{ matrix.target.mode == 'native' && 'false' || 'true' }} 
142142          gh_token : ${{ secrets.GITHUB_TOKEN }} 
143143          compile_mode : ${{ matrix.target.mode }} 
144-           #  There is no native code yet on PPC64LE, R-V or AArch64_be, so no point running opt tests
145-           opt : ${{ (matrix.target.arch != 'ppc64le' && matrix.target.arch != 'riscv64' && matrix.target.arch != 'riscv32' && matrix.target.arch != 'aarch64_be') && 'all' || 'no_opt' }} 
146-       - name : build + test (+debug+memsan+ubsan) 
144+           opt : ' no_opt' 
145+       - name : build + test (+debug+memsan+ubsan, native) 
147146        uses : ./.github/actions/multi-functest 
148147        if : ${{ matrix.target.mode == 'native' }} 
149148        with :
150149          gh_token : ${{ secrets.GITHUB_TOKEN }} 
151150          compile_mode : native 
152151          cflags : " -DMLKEM_DEBUG -fsanitize=address -fsanitize=undefined -fno-sanitize-recover=all" 
153152          check_namespace : ' false' 
153+       - name : build + test (+debug, cross, opt) 
154+         uses : ./.github/actions/multi-functest 
155+         #  There is no native code yet on riscv64, riscv32 or AArch64_be, so no point running opt tests
156+         if : ${{ matrix.target.mode != 'native' && (matrix.target.arch != 'riscv64' && matrix.target.arch != 'riscv32' && matrix.target.arch != 'aarch64_be') }} 
157+         with :
158+           nix-shell : ${{ matrix.target.nix_shell }} 
159+           nix-cache : ${{ matrix.target.mode == 'native' && 'false' || 'true' }} 
160+           gh_token : ${{ secrets.GITHUB_TOKEN }} 
161+           compile_mode : ${{ matrix.target.mode }} 
162+           cflags : " -DMLKEM_DEBUG" 
163+           opt : ' opt' 
154164  backend_tests :
155165    name : AArch64 FIPS202 backends (${{ matrix.backend }}) 
156166    strategy :
0 commit comments