File tree Expand file tree Collapse file tree 1 file changed +19
-6
lines changed Expand file tree Collapse file tree 1 file changed +19
-6
lines changed Original file line number Diff line number Diff line change 1+ # Copyright (c) The mlkem-native project authors
12# SPDX-License-Identifier: Apache-2.0 OR ISC OR MIT
23
34name : Test liboqs integration
@@ -12,13 +13,25 @@ jobs:
1213 strategy :
1314 fail-fast : false
1415 matrix :
15- system : [ubuntu-latest, pqcp-arm64]
16- cmake :
17- - name : Auto
16+ include :
17+ # x86
18+ - system : ubuntu-latest
19+ name : Haswell
20+ # ubuntu-latest may have AVX512 instructions that are not supported by valgrind
21+ # We explicitly compile for an older uarch to work around valgrind failures
22+ # TODO: switch this back to auto once valgrind supports AVX512 well
23+ flags : -DOQS_DIST_BUILD=OFF -DOQS_OPT_TARGET=haswell -DCMAKE_BUILD_TYPE=Debug -DOQS_ENABLE_TEST_CONSTANT_TIME=ON
24+ - system : ubuntu-latest
25+ name : C
26+ flags : -DOQS_DIST_BUILD=OFF -DOQS_OPT_TARGET=generic -DCMAKE_BUILD_TYPE=Debug -DOQS_ENABLE_TEST_CONSTANT_TIME=ON
27+ # AArch64
28+ - system : pqcp-arm64
29+ name : Auto
1830 flags : -DOQS_DIST_BUILD=OFF -DOQS_OPT_TARGET=auto -DCMAKE_BUILD_TYPE=Debug -DOQS_ENABLE_TEST_CONSTANT_TIME=ON
19- - name : C
31+ - system : pqcp-arm64
32+ name : C
2033 flags : -DOQS_DIST_BUILD=OFF -DOQS_OPT_TARGET=generic -DCMAKE_BUILD_TYPE=Debug -DOQS_ENABLE_TEST_CONSTANT_TIME=ON
21- name : Build (${{ matrix.cmake. name }}, ${{ matrix.system }})
34+ name : Build (${{ matrix.name }}, ${{ matrix.system }})
2235 runs-on : ${{ matrix.system }}
2336 steps :
2437 - uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
6073 cd $LIBOQS_DIR
6174 mkdir build
6275 cd build
63- cmake ${{ matrix.cmake. flags }} ..
76+ cmake ${{ matrix.flags }} ..
6477 make -j$(nproc)
6578 - name : Run KEM-test
6679 run : |
You can’t perform that action at this time.
0 commit comments