|
8 | 8 | description: 'GitHub token' |
9 | 9 | required: true |
10 | 10 | tests: |
11 | | - description: 'List of tests to run (space-separated IDs) or "all" for all tests. Available IDs: pct-enabled, pct-enabled-broken, reduce-ram, reduce-ram-pct, custom-alloc-heap, custom-zeroize, native-cap-ON, native-cap-OFF, native-cap-ID_AA64PFR1_EL1, native-cap-CPUID_AVX2, no-asm, serial-fips202, custom-randombytes, custom-memcpy, custom-memset, custom-stdlib, nblocks-1, nblocks-4, nblocks-6' |
| 11 | + description: 'List of tests to run (space-separated IDs) or "all" for all tests. Available IDs: pct-enabled, pct-enabled-broken, reduce-ram, reduce-ram-pct, custom-alloc-heap, custom-zeroize, native-cap-ON, native-cap-OFF, native-cap-ID_AA64PFR1_EL1, native-cap-CPUID_AVX2, no-asm, serial-fips202, custom-randombytes, custom-memcpy, custom-memset, custom-stdlib, nblocks-1, nblocks-4, nblocks-6, keygen-only, sign-only, verify-only, sign-verify' |
12 | 12 | required: false |
13 | 13 | default: 'all' |
14 | 14 | opt: |
|
31 | 31 | acvp: true |
32 | 32 | opt: ${{ inputs.opt }} |
33 | 33 | examples: true |
34 | | - extra_args: "--exclude-example basic_deterministic --exclude-example disabled_apis --exclude-example disabled_apis_native" |
| 34 | + extra_args: "--exclude-example basic_deterministic" |
35 | 35 | - name: "REDUCE_RAM" |
36 | 36 | if: ${{ inputs.tests == 'all' || contains(inputs.tests, 'reduce-ram') }} |
37 | 37 | uses: ./.github/actions/multi-functest |
|
60 | 60 | alloc: true |
61 | 61 | opt: ${{ inputs.opt }} |
62 | 62 | examples: true |
63 | | - extra_args: "--exclude-example basic_deterministic --exclude-example disabled_apis --exclude-example disabled_apis_native" |
| 63 | + extra_args: "--exclude-example basic_deterministic" |
64 | 64 | - name: "PCT enabled + broken" |
65 | 65 | if: ${{ inputs.tests == 'all' || contains(inputs.tests, 'pct-enabled-broken') }} |
66 | 66 | shell: bash |
@@ -302,3 +302,63 @@ runs: |
302 | 302 | examples: false # Some examples use a custom config themselves |
303 | 303 | alloc: false # Requires custom config |
304 | 304 | rng_fail: true |
| 305 | + - name: "Keygen-only API" |
| 306 | + if: ${{ inputs.tests == 'all' || contains(inputs.tests, 'keygen-only') }} |
| 307 | + uses: ./.github/actions/multi-functest |
| 308 | + with: |
| 309 | + gh_token: ${{ inputs.gh_token }} |
| 310 | + compile_mode: native |
| 311 | + cflags: "-DMLD_CONFIG_NO_SIGN_API -DMLD_CONFIG_NO_VERIFY_API -fsanitize=address -fsanitize=undefined -fno-sanitize-recover=all" |
| 312 | + ldflags: "-fsanitize=address -fsanitize=undefined -fno-sanitize-recover=all" |
| 313 | + func: true |
| 314 | + kat: true |
| 315 | + acvp: true |
| 316 | + stack: true |
| 317 | + rng_fail: true |
| 318 | + opt: ${{ inputs.opt }} |
| 319 | + examples: true |
| 320 | + - name: "Sign-only API" |
| 321 | + if: ${{ inputs.tests == 'all' || contains(inputs.tests, 'sign-only') }} |
| 322 | + uses: ./.github/actions/multi-functest |
| 323 | + with: |
| 324 | + gh_token: ${{ inputs.gh_token }} |
| 325 | + compile_mode: native |
| 326 | + cflags: "-DMLD_CONFIG_NO_KEYPAIR_API -DMLD_CONFIG_NO_VERIFY_API -fsanitize=address -fsanitize=undefined -fno-sanitize-recover=all" |
| 327 | + ldflags: "-fsanitize=address -fsanitize=undefined -fno-sanitize-recover=all" |
| 328 | + func: true |
| 329 | + kat: true |
| 330 | + acvp: true |
| 331 | + stack: true |
| 332 | + rng_fail: true |
| 333 | + opt: ${{ inputs.opt }} |
| 334 | + examples: true |
| 335 | + - name: "Verify-only API" |
| 336 | + if: ${{ inputs.tests == 'all' || contains(inputs.tests, 'verify-only') }} |
| 337 | + uses: ./.github/actions/multi-functest |
| 338 | + with: |
| 339 | + gh_token: ${{ inputs.gh_token }} |
| 340 | + compile_mode: native |
| 341 | + cflags: "-DMLD_CONFIG_NO_KEYPAIR_API -DMLD_CONFIG_NO_SIGN_API -fsanitize=address -fsanitize=undefined -fno-sanitize-recover=all" |
| 342 | + ldflags: "-fsanitize=address -fsanitize=undefined -fno-sanitize-recover=all" |
| 343 | + func: true |
| 344 | + kat: true |
| 345 | + acvp: true |
| 346 | + stack: true |
| 347 | + rng_fail: true |
| 348 | + opt: ${{ inputs.opt }} |
| 349 | + examples: true |
| 350 | + - name: "Sign+Verify API (no keygen)" |
| 351 | + if: ${{ inputs.tests == 'all' || contains(inputs.tests, 'sign-verify') }} |
| 352 | + uses: ./.github/actions/multi-functest |
| 353 | + with: |
| 354 | + gh_token: ${{ inputs.gh_token }} |
| 355 | + compile_mode: native |
| 356 | + cflags: "-DMLD_CONFIG_NO_KEYPAIR_API -fsanitize=address -fsanitize=undefined -fno-sanitize-recover=all" |
| 357 | + ldflags: "-fsanitize=address -fsanitize=undefined -fno-sanitize-recover=all" |
| 358 | + func: true |
| 359 | + kat: true |
| 360 | + acvp: true |
| 361 | + stack: true |
| 362 | + rng_fail: true |
| 363 | + opt: ${{ inputs.opt }} |
| 364 | + examples: true |
0 commit comments