@@ -137,7 +137,7 @@ jobs:
137137 # Install toolchain
138138 - name : Sources [Debian]
139139 if : matrix.host.platform == 'linux-gnu'
140- run : apt-get -qq install --no-install-recommends -y curl; curl -fsSL https://deb.nodesource.com/setup_22.x | bash -
140+ run : apt-get -qq install --no-install-recommends -y curl; curl -kfsSL https://deb.nodesource.com/setup_22.x | bash -
141141 - name : Toolchain [Linux]
142142143143 if : startsWith(matrix.host.platform, 'linux-')
@@ -173,11 +173,8 @@ jobs:
173173 run : |
174174 echo ::group::Toolchain
175175 # Install ucrt mingw llvm
176- # cd /
177- # curl 'https://github.com/mstorsjo/llvm-mingw/releases/download/20251118/llvm-mingw-20251118-ucrt-x86_64.zip' -L | bsdtar -xvf-
178-
179- # I would like to use this but can't figure it out
180176 winget install --accept-source-agreements --silent -e --id=MartinStorsjo.LLVM-MinGW.UCRT
177+ ls -d /c/Users/runneradmin/AppData/Local/Microsoft/WinGet/Packages/MartinStorsjo.LLVM-MinGW.UCRT_Microsoft.*/llvm-mingw-*-ucrt-*/bin >> "$GITHUB_PATH"
181178
182179 # You want the mingw version of ninja, not the msys version. The msys version uses
183180 # `CMD.EXE` and does not work with the cmake Ninja generator.
@@ -251,8 +248,8 @@ jobs:
251248 CMAKE_CXX_COMPILER=$(realpath "$(which clang++-21)")
252249 ;;
253250 win32)
254- CMAKE_C_COMPILER=/llvm-mingw-20251118-ucrt-x86_64/bin/ clang++ .exe
255- CMAKE_CXX_COMPILER=/llvm-mingw-20251118-ucrt-x86_64/bin/ clang++.exe
251+ CMAKE_C_COMPILER=$(which clang.exe)
252+ CMAKE_CXX_COMPILER=$(which clang++.exe)
256253 # I do not know why cmake cannot find ninja without explicitly being told where it is.
257254 CMAKE_MAKE_PROGRAM=$(which ninja)
258255 CMAKE_PREFIX_PATH=C:/msys64/mingw64/lib/cmake
0 commit comments