force install newer version of the windows CRT in the windows test runner (#5448)

Co-authored-by: Nerixyz <nerixdev@outlook.de>
This commit is contained in:
pajlada 2024-06-09 12:37:18 +02:00 committed by GitHub
parent d2316af70f
commit b81a947134
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -105,6 +105,12 @@ jobs:
--output-folder=. `
-o with_openssl3="$Env:C2_USE_OPENSSL3"
# The Windows runners currently use an older version of the CRT
- name: Install CRT
run: |
mkdir -Force build-test/bin
cp "$((ls $Env:VCToolsRedistDir/onecore/x64 -Filter '*.CRT')[0].FullName)/*" build-test/bin
- name: Build
run: |
cmake `