From 16dfa0c41d657dda13d80ba3e886185da9ad50c9 Mon Sep 17 00:00:00 2001 From: Justin W Smith <103147162+justsmth@users.noreply.github.com> Date: Wed, 5 Mar 2025 16:59:22 -0500 Subject: [PATCH] Update to using Clang 18 on Windows (#2240) ### Issues: Addresses CI failure: https://github.com/aws/aws-lc/actions/runs/13661696749/job/38194107977?pr=2239#step:6:65 ``` C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.43.34808\include\yvals_core.h:927:1: error: static assertion failed: error STL1000: Unexpected compiler version, expected Clang 18.0.0 or newer. 927 | _EMIT_STL_ERROR(STL1000, "Unexpected compiler version, expected Clang 18.0.0 or newer."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ``` ### Description of changes: * Use Clang v18 for `windows-latest` (i.e `windows-2025`). By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license and the ISC license. --- .github/workflows/windows-alt.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/windows-alt.yml b/.github/workflows/windows-alt.yml index f747dfd5d8..fce0184401 100644 --- a/.github/workflows/windows-alt.yml +++ b/.github/workflows/windows-alt.yml @@ -56,7 +56,7 @@ jobs: uses: KyleMayes/install-llvm-action@v2 id: clang with: - version: 17 + version: 18 env: true - name: Setup CMake uses: threeal/cmake-action@v1.3.0