Skip to content

Commit

Permalink
Correcting build options for Windows in CI
Browse files Browse the repository at this point in the history
The CI installed libraries botan and openssl (x86 only) lacks support
for ECC and EDDSA, which now are disabled during the CI builds.

Windows x64 with OpenSSL still builds and runs these tests.

Signed-off-by: Björn Svensson <[email protected]>
  • Loading branch information
bjosv committed Nov 29, 2024
1 parent 9f55044 commit 6ca9116
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,12 +67,15 @@ jobs:
- arch: x64
backend: openssl
target-platform: x64
build-options:
- arch: x64
backend: botan
target-platform: x64
build-options: -DENABLE_ECC=OFF -DENABLE_EDDSA=OFF
- arch: x86
backend: openssl
target-platform: Win32
build-options: -DENABLE_ECC=OFF -DENABLE_EDDSA=OFF
steps:
- uses: actions/checkout@v4
- uses: ilammy/msvc-dev-cmd@v1
Expand All @@ -93,7 +96,7 @@ jobs:
- name: Build
run: |
mkdir build
cmake -B build ${{ steps.vcpkg.outputs.vcpkg-cmake-config }} -A ${{ matrix.target-platform }} -DWITH_CRYPTO_BACKEND=${{ matrix.backend }} -DDISABLE_NON_PAGED_MEMORY=ON -DBUILD_TESTS=ON
cmake -B build ${{ steps.vcpkg.outputs.vcpkg-cmake-config }} -A ${{ matrix.target-platform }} -DWITH_CRYPTO_BACKEND=${{ matrix.backend }} ${{ matrix.build-options }} -DDISABLE_NON_PAGED_MEMORY=ON -DBUILD_TESTS=ON
cmake --build build
- name: Test
env:
Expand Down

0 comments on commit 6ca9116

Please sign in to comment.