From 06c83c990f0540196dea704915cb00673724f799 Mon Sep 17 00:00:00 2001 From: Spencer Wilson Date: Mon, 29 Jul 2024 14:02:52 -0400 Subject: [PATCH 1/3] Don't hardcode OPENSSL_ROOT_DIR to /usr on Linux Signed-off-by: Spencer Wilson --- CMakeLists.txt | 2 -- 1 file changed, 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index ebbd58962..99f431413 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -128,8 +128,6 @@ if(${OQS_USE_OPENSSL}) elseif(EXISTS "/opt/homebrew/opt/openssl@1.1") set(OPENSSL_ROOT_DIR "/opt/homebrew/opt/openssl@1.1") endif() - elseif(${CMAKE_HOST_SYSTEM_NAME} STREQUAL "Linux") - set(OPENSSL_ROOT_DIR "/usr") endif() endif() find_package(OpenSSL 1.1.1 REQUIRED) From 77ed8cedd0fab35009098d34e4eaa6ba7d302267 Mon Sep 17 00:00:00 2001 From: Spencer Wilson Date: Mon, 29 Jul 2024 14:37:46 -0400 Subject: [PATCH 2/3] Run buildcheck with latest docker image Signed-off-by: Spencer Wilson --- .github/workflows/unix.yml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/unix.yml b/.github/workflows/unix.yml index 9bac98d3b..c55dd86ee 100644 --- a/.github/workflows/unix.yml +++ b/.github/workflows/unix.yml @@ -45,12 +45,14 @@ jobs: strategy: matrix: include: - - arch: arm64 - runner: oqs-arm64 - - arch: x86_64 - runner: ubuntu-latest + - runner: oqs-arm64 + container: openquantumsafe/ci-ubuntu-focal-arm64:latest + - runner: ubuntu-latest + container: openquantumsafe/ci-ubuntu-focal-x86_64:latest + - runner: ubuntu-latest + container: openquantumsafe/ci-ubuntu-latest:latest runs-on: ${{ matrix.runner }} - container: openquantumsafe/ci-ubuntu-focal-${{ matrix.arch }}:latest + container: ${{ matrix.container }} env: KEM_NAME: kyber_768 SIG_NAME: dilithium_3 @@ -74,7 +76,7 @@ jobs: - name: Build documentation run: ninja gen_docs working-directory: build - if: matrix.arch == 'x86_64' + if: matrix.runner == 'ubuntu-latest' linux: needs: buildcheck From a101ba4c0d841af9dc0d6211dd1f9bdbfcf46408 Mon Sep 17 00:00:00 2001 From: Spencer Wilson Date: Tue, 30 Jul 2024 09:13:10 -0400 Subject: [PATCH 3/3] [trigger downstream] Signed-off-by: Spencer Wilson