Fix Windows TLS CI (OpenSSL Env)

This commit is contained in:
Hassan DRAGA 2024-06-11 18:26:43 -04:00
parent bf1a443749
commit cb76e0af53

View File

@ -38,12 +38,8 @@ jobs:
include: include:
- compiler: GCC - compiler: GCC
make: mingw32-make make: mingw32-make
tls_include: ${{ env.OPENSSL_PATH }}\include
tls_lib: ${{ env.OPENSSL_PATH }}\lib
- compiler: MSVC - compiler: MSVC
make: nmake make: nmake
tls_include: ${{ env.OPENSSL_PATH }}\include
tls_lib: ${{ env.OPENSSL_PATH }}\lib
fail-fast: false fail-fast: false
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
@ -60,9 +56,13 @@ jobs:
- name: Build Release Target - name: Build Release Target
run: ${{ matrix.make }} run: ${{ matrix.make }}
- name: Build TLS Debug Target - name: Build TLS Debug Target
run: ${{ matrix.make }} WEBUI_USE_TLS=1 WEBUI_TLS_INCLUDE="${{ matrix.tls_include }}" WEBUI_TLS_LIB="${{ matrix.tls_lib }}" debug env:
OPENSSL_PATH: ${{ env.OPENSSL_PATH }}
run: ${{ matrix.make }} WEBUI_USE_TLS=1 WEBUI_TLS_INCLUDE="${{ env.OPENSSL_PATH }}\include" WEBUI_TLS_LIB="${{ env.OPENSSL_PATH }}\lib" debug
- name: Build TLS Release Target - name: Build TLS Release Target
run: ${{ matrix.make }} WEBUI_USE_TLS=1 WEBUI_TLS_INCLUDE="${{ matrix.tls_include }}" WEBUI_TLS_LIB="${{ matrix.tls_lib }}" env:
OPENSSL_PATH: ${{ env.OPENSSL_PATH }}
run: ${{ matrix.make }} WEBUI_USE_TLS=1 WEBUI_TLS_INCLUDE="${{ env.OPENSSL_PATH }}\include" WEBUI_TLS_LIB="${{ env.OPENSSL_PATH }}\lib"
- name: Build examples - name: Build examples
run: | run: |
$examples_base_dir = "$(Get-Location)/examples/C/" $examples_base_dir = "$(Get-Location)/examples/C/"