Skip to content

Commit

Permalink
Using different SSL Backend for Windows Cert. Store
Browse files Browse the repository at this point in the history
Signed-off-by: Vedant <[email protected]>
  • Loading branch information
vrnimje committed Oct 20, 2023
1 parent 43d45d8 commit fd947a0
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions .github/workflows/windows_build_no_boost.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Windows Build Boost Fetch

on:
push:
branches: [ master, fix_windows_ci ]
branches: [ master ]
paths:
- ".github/workflows/windows_build_no_boost.yml"
- "include/**"
Expand All @@ -25,17 +25,9 @@ jobs:
CMAKE_PREFIX_PATH: ${{ github.workspace }}\.local
steps:
- uses: actions/checkout@v2

- name: Install OpenSSL
run: choco install openssl.light

- name: Get GitHub SSL certificate
run: |
echo "" | openssl s_client -servername github.com -connect github.com:443 2>NUL | openssl x509 > github.cer

- name: Add GitHub SSL certificate to trusted store
run: |
certutil -addstore -f "Root" github.cer
- name: Set Git to use the Windows Certificate Store
run: git config --global http.sslBackend schannel

- name: Configure CMake
run: cmake -S . -B build "-DCMAKE_TOOLCHAIN_FILE=$env:VCPKG_INSTALLATION_ROOT\scripts\buildsystems\vcpkg.cmake" -DQUICK_FTXUI_FETCH_BOOST=ON
Expand Down

0 comments on commit fd947a0

Please sign in to comment.