From cb76e0af53e74b805f1f668d4908284490c36340 Mon Sep 17 00:00:00 2001 From: Hassan DRAGA Date: Tue, 11 Jun 2024 18:26:43 -0400 Subject: [PATCH] Fix Windows TLS CI (OpenSSL Env) --- .github/workflows/windows.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 5d23d30a..381b2989 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -38,12 +38,8 @@ jobs: include: - compiler: GCC make: mingw32-make - tls_include: ${{ env.OPENSSL_PATH }}\include - tls_lib: ${{ env.OPENSSL_PATH }}\lib - compiler: MSVC make: nmake - tls_include: ${{ env.OPENSSL_PATH }}\include - tls_lib: ${{ env.OPENSSL_PATH }}\lib fail-fast: false steps: - uses: actions/checkout@v4 @@ -60,9 +56,13 @@ jobs: - name: Build Release Target run: ${{ matrix.make }} - 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 - 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 run: | $examples_base_dir = "$(Get-Location)/examples/C/"