From 1db6b80b7d1f7f98922d73dbda8ac75ac13c263a Mon Sep 17 00:00:00 2001 From: Martin Robinson Date: Tue, 11 Jun 2024 12:08:56 +0200 Subject: [PATCH] Add a workaround for actions/runner-images#10001 (#296) --- .github/workflows/main.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 43ed74b3..8e8bf42c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -46,11 +46,16 @@ jobs: rust: stable steps: - uses: actions/checkout@v4 - - name: Install deps on linux + - name: Install dependencies (Linux) if: startsWith(matrix.os, 'ubuntu') run: | sudo apt update sudo apt install gcc libxxf86vm-dev libosmesa6-dev libgles2-mesa-dev -y + - name: Upgrade LLVM (Windows) + if: runner.os == 'Windows' + run: | + choco upgrade llvm --version=17.0.6 -y + echo "LLVM_PATH=C:\Program Files\LLVM\bin" >> $GITHUB_ENV - name: Install rust id: toolchain uses: dtolnay/rust-toolchain@master