Update LLVM on Windows manually

This commit is contained in:
Lukas Dürrenberger 2024-06-07 16:46:31 +02:00 committed by Chris Thrasher
parent de8430bb29
commit 84a448f495

View File

@ -210,6 +210,18 @@ jobs:
echo "Using $(which ccache)" echo "Using $(which ccache)"
ccache --version ccache --version
- name: Cache LLVM
if: matrix.platform.name == 'Windows'
id: llvm-cache
uses: actions/cache@v4
with:
path: "C:\\Program Files\\LLVM"
key: llvm-17.0.6
- name: Update LLVM on Windows
if: runner.os == 'Windows' && steps.llvm-cache.outputs.cache-hit != 'true'
run: choco upgrade llvm --version=17.0.6
- name: Configure CMake - name: Configure CMake
run: cmake --preset dev -DCMAKE_VERBOSE_MAKEFILE=ON ${{matrix.platform.flags}} ${{matrix.config.flags}} ${{matrix.type.flags}} run: cmake --preset dev -DCMAKE_VERBOSE_MAKEFILE=ON ${{matrix.platform.flags}} ${{matrix.config.flags}} ${{matrix.type.flags}}
@ -365,6 +377,18 @@ jobs:
run: | run: |
curl.exe -o run-clang-tidy https://raw.githubusercontent.com/llvm/llvm-project/llvmorg-15.0.7/clang-tools-extra/clang-tidy/tool/run-clang-tidy.py curl.exe -o run-clang-tidy https://raw.githubusercontent.com/llvm/llvm-project/llvmorg-15.0.7/clang-tools-extra/clang-tidy/tool/run-clang-tidy.py
- name: Cache LLVM
if: matrix.platform.name == 'Windows'
id: llvm-cache
uses: actions/cache@v4
with:
path: "C:\\Program Files\\LLVM"
key: llvm-17.0.6
- name: Update LLVM on Windows
if: runner.os == 'Windows' && steps.llvm-cache.outputs.cache-hit != 'true'
run: choco upgrade llvm --version=17.0.6
- name: Install Linux Dependencies - name: Install Linux Dependencies
if: runner.os == 'Linux' if: runner.os == 'Linux'
run: sudo apt-get update && sudo apt-get install libfreetype-dev libxrandr-dev libxcursor-dev libxi-dev libudev-dev libflac-dev libvorbis-dev libgl1-mesa-dev libegl1-mesa-dev libdrm-dev libgbm-dev run: sudo apt-get update && sudo apt-get install libfreetype-dev libxrandr-dev libxcursor-dev libxi-dev libudev-dev libflac-dev libvorbis-dev libgl1-mesa-dev libegl1-mesa-dev libdrm-dev libgbm-dev