Skip to content

Commit

Permalink
add more complete KEM ENCODERS testing in recent openssl versions (#616)
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Baentsch <[email protected]>
  • Loading branch information
baentsch authored Jan 7, 2025
1 parent 35529a0 commit afc1de2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
strategy:
fail-fast: false
matrix:
cmake-params: [ "", "-DOQS_KEM_ENCODERS=ON" ]
cmake-params: [ "" ]
libjade-build: ["ON", "OFF"]
container:
image: openquantumsafe/ci-ubuntu-jammy:latest
Expand All @@ -39,6 +39,7 @@ jobs:
fail-fast: false
matrix:
ossl-branch: [openssl-3.4.0, master]
cmake-params: [ "", "-DOQS_KEM_ENCODERS=ON" ]
libjade-build:
- "ON"
- "OFF"
Expand All @@ -59,7 +60,7 @@ jobs:
- name: Checkout code
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # pin@v4
- name: Full build
run: OPENSSL_BRANCH=${{ matrix.ossl-branch }} LIBOQS_BRANCH=main OQS_LIBJADE_BUILD=${{ matrix.libjade-build }} ./scripts/fullbuild.sh
run: OQSPROV_CMAKE_PARAMS=${{ matrix.cmake-params}} OPENSSL_BRANCH=${{ matrix.ossl-branch }} LIBOQS_BRANCH=main OQS_LIBJADE_BUILD=${{ matrix.libjade-build }} ./scripts/fullbuild.sh
- name: Enable sibling oqsprovider for testing
run: cd _build/lib && ln -s oqsprovider.so oqsprovider2.so
- name: Test
Expand Down
2 changes: 1 addition & 1 deletion scripts/fullbuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ else
export DOQS_ALGS_ENABLED="-DOQS_ALGS_ENABLED=$OQS_ALGS_ENABLED"
fi

if [ -z "$OQS_LIBJADE_BUILD"]; then
if [ -z "$OQS_LIBJADE_BUILD" ]; then
export DOQS_LIBJADE_BUILD="-DOQS_LIBJADE_BUILD=OFF"
else
export DOQS_LIBJADE_BUILD="-DOQS_LIBJADE_BUILD=$OQS_LIBJADE_BUILD"
Expand Down

0 comments on commit afc1de2

Please sign in to comment.