From ce127e41b14da7448585f4eca91f12b66feb5df5 Mon Sep 17 00:00:00 2001 From: 52 69 63 68 61 72 64 Date: Fri, 3 Jan 2025 08:06:05 +0100 Subject: [PATCH] Update rust.yml --- .github/workflows/rust.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 7e9afe2..81e1037 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -42,6 +42,14 @@ jobs: Invoke-WebRequest -Uri "https://aka.ms/vs/17/release/vs_community.exe" -OutFile "$env:RUNNER_TEMP\vs_community.exe" Start-Process -FilePath "$env:RUNNER_TEMP\vs_community.exe" -ArgumentList "--quiet --wait --add Microsoft.VisualStudio.Workload.UniversalBuildTools --includeRecommended --norestart" -NoNewWindow -Wait Write-Host "Visual Studio installation complete." + - name: Download and Install LLVM + run: | + $LLVMInstallerUrl = "https://github.com/llvm/llvm-project/releases/download/llvmorg-18.1.8/LLVM-18.1.8-woa64.exe" + $InstallerPath = "$env:RUNNER_TEMP\LLVM-18.1.8-woa64.exe" + Invoke-WebRequest -Uri $LLVMInstallerUrl -OutFile $InstallerPath + Start-Process -Wait -FilePath $InstallerPath -ArgumentList "/quiet" + - name: Verify LLVM installation + run: llvm --version - name: Install Rust (nightly, aarch64) if: matrix.os == 'windows-11-preview_aarch64' run: |