Skip to content

Commit 8635f76

Browse files
committed
Correcting build options for Windows in CI
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]>
1 parent 152cece commit 8635f76

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/ci.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -67,12 +67,15 @@ jobs:
6767
- arch: x64
6868
backend: openssl
6969
target-platform: x64
70+
build-options:
7071
- arch: x64
7172
backend: botan
7273
target-platform: x64
74+
build-options: -DENABLE_ECC=OFF -DENABLE_EDDSA=OFF
7375
- arch: x86
7476
backend: openssl
7577
target-platform: Win32
78+
build-options: -DENABLE_ECC=OFF -DENABLE_EDDSA=OFF
7679
steps:
7780
- uses: actions/checkout@v4
7881
- uses: ilammy/msvc-dev-cmd@v1
@@ -93,7 +96,7 @@ jobs:
9396
- name: Build
9497
run: |
9598
mkdir build
96-
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
99+
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
97100
cmake --build build
98101
- name: Test
99102
env:

0 commit comments

Comments
 (0)