From b81a94713403dd5eb9a907dc6cb1ac2dcecbb351 Mon Sep 17 00:00:00 2001 From: pajlada Date: Sun, 9 Jun 2024 12:37:18 +0200 Subject: [PATCH] force install newer version of the windows CRT in the windows test runner (#5448) Co-authored-by: Nerixyz --- .github/workflows/test-windows.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/test-windows.yml b/.github/workflows/test-windows.yml index ac1f1c9a..052c7d81 100644 --- a/.github/workflows/test-windows.yml +++ b/.github/workflows/test-windows.yml @@ -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 `