Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

ci: remove LLVM/Clang install steps (runners already have them)

Divanshue1f61cec5298
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 4e6272dd4..6f04e0dde 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -111,11 +111,6 @@ jobs:
- name: Set up MSVC
uses: ilammy/msvc-dev-cmd@v1
- - name: Install LLVM and Clang
- uses: KyleMayes/install-llvm-action@v2
- with:
- version: "10.0"
-
- name: Install 7zip
shell: powershell
run: |
diff --git a/.github/workflows/e2e-test.yml b/.github/workflows/e2e-test.yml
index 6629482e4..c3e007f2c 100644
--- a/.github/workflows/e2e-test.yml
+++ b/.github/workflows/e2e-test.yml
@@ -98,12 +98,6 @@ jobs:
echo "C:\Program Files\7-Zip" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
& "C:\Program Files\7-Zip\7z.exe" i
- - name: Install LLVM and Clang
- uses: KyleMayes/install-llvm-action@v2
- with:
- version: "10.0"
- directory: "C:\\Program Files\\LLVM"
-
- name: Download ONNX Runtime (CPU)
shell: pwsh
run: |
diff --git a/.github/workflows/release-app.yml b/.github/workflows/release-app.yml
index ce3120345..d4320c207 100644
--- a/.github/workflows/release-app.yml
+++ b/.github/workflows/release-app.yml
@@ -526,53 +526,6 @@ jobs:
echo "C:\Program Files\7-Zip" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
& "C:\Program Files\7-Zip\7z.exe" i
- - name: Cache LLVM
- if: matrix.os_type == 'windows'
- id: cache-llvm
- uses: actions/cache@v4
- with:
- path: |
- C:\Program Files\LLVM
- ${{ runner.temp }}\llvm
- key: llvm-10.0-windows-${{ hashFiles('.github/workflows/release-app.yml') }}
-
- - name: Install LLVM and Clang
- if: matrix.os_type == 'windows' && steps.cache-llvm.outputs.cache-hit != 'true'
- shell: powershell
- run: |
- $llvmPath = "C:\Program Files\LLVM"
- # Skip if already installed (self-hosted runners)
- if (Test-Path "$llvmPath\bin\clang.exe") {
- Write-Host "LLVM already installed, skipping download"
- } else {
- # Create LLVM directory with proper permissions
- if (!(Test-Path $llvmPath)) {
- New-Item -ItemType Directory -Force -Path $llvmPath | Out-Null
- $acl = Get-Acl $llvmPath
- $rule = New-Object System.Security.AccessControl.FileSystemAccessRule("Users","FullControl","Allow")
- $acl.SetAccessRule($rule)
- Set-Acl $llvmPath $acl
- }
-
- # Download and install LLVM
- $installerUrl = "https://github.com/llvm/llvm-project/releases/download/llvmorg-10.0.0/LLVM-10.0.0-win64.exe"
- $installerPath = Join-Path $env:TEMP "LLVM-10.0.0-win64.exe"
-
- Write-Host "Downloading LLVM installer..."
- Invoke-WebRequest -Uri $installerUrl -OutFile $installerPath
-
- Write-Host "Installing LLVM..."
- Start-Process -FilePath $installerPath -ArgumentList "/S","/D=$llvmPath" -Wait -NoNewWindow
-
- Remove-Item $installerPath -Force
-
- # Verify installation
- if (!(Test-Path "$llvmPath\bin\clang.exe")) {
- throw "LLVM installation failed - clang.exe not found"
- }
- }
- Write-Host "LLVM installation completed successfully"
-
- name: Persist MSVC cl.exe path
if: matrix.os_type == 'windows'
shell: powershell
diff --git a/.github/workflows/release-cli.yml b/.github/workflows/release-cli.yml
index f09e375a3..22367b781 100644
--- a/.github/workflows/release-cli.yml
+++ b/.github/workflows/release-cli.yml
@@ -241,11 +241,6 @@ jobs:
- name: Set up MSVC
uses: ilammy/msvc-dev-cmd@v1
- - name: Install LLVM and Clang
- uses: KyleMayes/install-llvm-action@v2
- with:
- version: "10.0"
-
# sccache disabled temporarily due to GitHub Actions cache outage
# - name: Setup sccache
# uses: mozilla-actions/[email protected]
@@ -422,15 +417,6 @@ jobs:
libgbm-dev \
libegl-dev
- - name: Install LLVM and Clang
- uses: KyleMayes/install-llvm-action@v1
- with:
- version: "14.0"
-
- - name: Set LIBCLANG_PATH
- run: |
- echo "LIBCLANG_PATH=$(llvm-config --prefix)/lib" >> $GITHUB_ENV
-
- uses: actions/cache@v4
with:
path: |
diff --git a/.github/workflows/release-enterprise-windows.yml b/.github/workflows/release-enterprise-windows.yml
index 33b1feabf..922f1efd0 100644
--- a/.github/workflows/release-enterprise-windows.yml
+++ b/.github/workflows/release-enterprise-windows.yml
@@ -111,35 +111,6 @@ jobs:
}
echo "C:\Program Files\7-Zip" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
- - name: Cache LLVM
- id: cache-llvm
- uses: actions/cache@v4
- with:
- path: |
- C:\Program Files\LLVM
- ${{ runner.temp }}\llvm
- key: llvm-10.0-windows-${{ hashFiles('.github/workflows/release-enterprise-windows.yml') }}
-
- - name: Install LLVM and Clang
- if: steps.cache-llvm.outputs.cache-hit != 'true'
- shell: powershell
- run: |
- $llvmPath = "C:\Program Files\LLVM"
- if (Test-Path "$llvmPath\bin\clang.exe") { Write-Host "LLVM already installed"; exit 0 }
- if (!(Test-Path $llvmPath)) {
- New-Item -ItemType Directory -Force -Path $llvmPath | Out-Null
- $acl = Get-Acl $llvmPath
- $rule = New-Object System.Security.AccessControl.FileSystemAccessRule("Users","FullControl","Allow")
- $acl.SetAccessRule($rule)
- Set-Acl $llvmPath $acl
- }
- $installerUrl = "https://github.com/llvm/llvm-project/releases/download/llvmorg-10.0.0/LLVM-10.0.0-win64.exe"
- $installerPath = Join-Path $env:TEMP "LLVM-10.0.0-win64.exe"
- Invoke-WebRequest -Uri $installerUrl -OutFile $installerPath
- Start-Process -FilePath $installerPath -ArgumentList "/S","/D=$llvmPath" -Wait -NoNewWindow
- Remove-Item $installerPath -Force
- echo "C:\Program Files\LLVM\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
-
- name: Install wget (Windows)
shell: powershell
run: |
diff --git a/.github/workflows/windows-integration-test.yml b/.github/workflows/windows-integration-test.yml
index 5a8513fb0..695a20218 100644
--- a/.github/workflows/windows-integration-test.yml
+++ b/.github/workflows/windows-integration-test.yml
@@ -56,11 +56,6 @@ jobs:
- name: Setup MSVC Dev Cmd
uses: ilammy/msvc-dev-cmd@v1
- - name: Install LLVM and Clang
- uses: KyleMayes/install-llvm-action@v2
- with:
- version: "10.0"
-
- name: Sign and Install Scream Driver on Windows
shell: powershell
run: |