|
|
|
@ -62,7 +62,7 @@ jobs: |
|
|
|
|
with: |
|
|
|
|
cmakeGenerator: "Ninja" # Visual Studio 15 2017 |
|
|
|
|
cmakeListsOrSettingsJson: "CMakeListsTxtBasic" |
|
|
|
|
cmakeListsTxtPath: "${{runner.workspace}}/clamav-devel/CMakeLists.txt" |
|
|
|
|
cmakeListsTxtPath: "${{runner.workspace}}/clamav/CMakeLists.txt" |
|
|
|
|
useVcpkgToolchainFile: true |
|
|
|
|
cmakeAppendedArgs: '-A x64 -DCMAKE_TOOLCHAIN_FILE="$VCPKG_ROOT/scripts/buildsystems/vcpkg.cmake" -DENABLE_EXAMPLES=ON -DENABLE_STATIC_LIB=ON -- -v' |
|
|
|
|
cmakeBuildType: "${{ env.BUILD_TYPE }}" |
|
|
|
@ -107,7 +107,7 @@ jobs: |
|
|
|
|
# and build directories, but this is only available with CMake 3.13 and higher. |
|
|
|
|
# The CMake binaries on the Github Actions machines are (as of this writing) 3.12 |
|
|
|
|
run: |
|
|
|
|
cmake ${{runner.workspace}}/clamav-devel -DCMAKE_BUILD_TYPE=${{ env.BUILD_TYPE }} |
|
|
|
|
cmake ${{runner.workspace}}/clamav -DCMAKE_BUILD_TYPE=${{ env.BUILD_TYPE }} |
|
|
|
|
-DOPENSSL_ROOT_DIR=/usr/local/opt/openssl@1.1/ |
|
|
|
|
-DOPENSSL_CRYPTO_LIBRARY=/usr/local/opt/openssl@1.1/lib/libcrypto.1.1.dylib |
|
|
|
|
-DOPENSSL_SSL_LIBRARY=/usr/local/opt/openssl@1.1/lib/libssl.1.1.dylib |
|
|
|
@ -155,7 +155,7 @@ jobs: |
|
|
|
|
# and build directories, but this is only available with CMake 3.13 and higher. |
|
|
|
|
# The CMake binaries on the Github Actions machines are (as of this writing) 3.12 |
|
|
|
|
run: |
|
|
|
|
cmake ${{runner.workspace}}/clamav-devel -DCMAKE_BUILD_TYPE=${{ env.BUILD_TYPE }} |
|
|
|
|
cmake ${{runner.workspace}}/clamav -DCMAKE_BUILD_TYPE=${{ env.BUILD_TYPE }} |
|
|
|
|
-DENABLE_STATIC_LIB=ON |
|
|
|
|
-DENABLE_EXAMPLES=ON |
|
|
|
|
|
|
|
|
|