Windows: Fix workflows OpenSSL install

This commit is contained in:
Jon Shallow authored and Jon Shallow committed 2023-10-04 22:03:49 +01:00
1 parent 342a2d0893
commit 9fbce393d9
3 files changed
+16 -5

No files matched your search

+9
View File
@@ -8,6 +8,15 @@ if exist NoTLS rd /s /q NoTLS
cd ..
REM Need to set OPENSSL_INSTALL_PATH so we can build with OpenSSL
IF EXIST "C:\Program Files\OpenSSL\include\openssl\ssl.h" (
SET "OPENSSL_INSTALL_PATH=C:\Program Files\OpenSSL\"
) ELSE (
SET "OPENSSL_INSTALL_PATH=C:\Program Files\OpenSSL-Win64\")
)
echo OPENSSL_INSTALL_PATH = %OPENSSL_INSTALL_PATH%
rem MSBuild.exe ./win32/libcoap.sln /p:Configuration=NoTLS /p:Platform=x64 /warnaserror
MSBuild.exe ./win32/libcoap.sln /p:Platform=x64 /warnaserror
+5
View File
@@ -0,0 +1,5 @@
IF NOT EXIST "C:\Program Files\OpenSSL\include\openssl\ssl.h" (
choco install openssl --no-progress
) ELSE (
echo OpenSSL already installed.
)