mirror of
https://github.com/webui-dev/webui.git
synced 2024-09-11 22:17:13 +03:00
Fix Windows TLS CI (OpenSSL Path)
This commit is contained in:
parent
cb76e0af53
commit
2257b94a9b
18
.github/workflows/windows.yml
vendored
18
.github/workflows/windows.yml
vendored
@ -22,11 +22,7 @@ jobs:
|
|||||||
path: bridge/webui_bridge.h
|
path: bridge/webui_bridge.h
|
||||||
key: ${{ runner.os }}-${{ github.sha }}-bridge
|
key: ${{ runner.os }}-${{ github.sha }}-bridge
|
||||||
- name: Install OpenSSL
|
- name: Install OpenSSL
|
||||||
run: |
|
run: choco install openssl -y
|
||||||
choco install openssl -y
|
|
||||||
$openssl_path = (choco info openssl -r | Select-String -Pattern "C:.*OpenSSL.*" -AllMatches).Matches[0].Value
|
|
||||||
Write-Host "OpenSSL path: $openssl_path"
|
|
||||||
echo "OPENSSL_PATH=$openssl_path" >> $GITHUB_ENV
|
|
||||||
|
|
||||||
build:
|
build:
|
||||||
needs: setup
|
needs: setup
|
||||||
@ -38,8 +34,12 @@ jobs:
|
|||||||
include:
|
include:
|
||||||
- compiler: GCC
|
- compiler: GCC
|
||||||
make: mingw32-make
|
make: mingw32-make
|
||||||
|
tls_include: "C:\\Program Files\\OpenSSL\\include"
|
||||||
|
tls_lib: "C:\\Program Files\\OpenSSL\\lib"
|
||||||
- compiler: MSVC
|
- compiler: MSVC
|
||||||
make: nmake
|
make: nmake
|
||||||
|
tls_include: "C:\\Program Files\\OpenSSL\\include"
|
||||||
|
tls_lib: "C:\\Program Files\\OpenSSL\\lib"
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
@ -56,13 +56,9 @@ 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
|
||||||
env:
|
run: ${{ matrix.make }} WEBUI_USE_TLS=1 WEBUI_TLS_INCLUDE="${{ matrix.tls_include }}" WEBUI_TLS_LIB="${{ matrix.tls_lib }}" debug
|
||||||
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
|
||||||
env:
|
run: ${{ matrix.make }} WEBUI_USE_TLS=1 WEBUI_TLS_INCLUDE="${{ matrix.tls_include }}" WEBUI_TLS_LIB="${{ matrix.tls_lib }}"
|
||||||
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/"
|
||||||
|
Loading…
Reference in New Issue
Block a user