mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-07-03 11:45:59 +00:00
CI: Install LLVM
This commit is contained in:
parent
0f4e76a439
commit
b578bd9973
11
.github/workflows/build.yml
vendored
11
.github/workflows/build.yml
vendored
@ -24,7 +24,7 @@ jobs:
|
|||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get -y install cmake ninja-build qt5-default libclang-dev
|
sudo apt-get -y install cmake ninja-build qt5-default libclang-dev llvm-dev
|
||||||
|
|
||||||
- name: Create build directory
|
- name: Create build directory
|
||||||
run: cmake -E make_directory ${{github.workspace}}/build
|
run: cmake -E make_directory ${{github.workspace}}/build
|
||||||
@ -104,6 +104,7 @@ jobs:
|
|||||||
name: Build Windows (MSVC x86_64)
|
name: Build Windows (MSVC x86_64)
|
||||||
runs-on: windows-2019
|
runs-on: windows-2019
|
||||||
env:
|
env:
|
||||||
|
LLVM_VERSION: 11.0.1
|
||||||
Qt_VERSION: 5.15.2
|
Qt_VERSION: 5.15.2
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
@ -125,6 +126,14 @@ jobs:
|
|||||||
version: ${{env.Qt_VERSION}}
|
version: ${{env.Qt_VERSION}}
|
||||||
cached: ${{steps.cache-qt.outputs.cache-hit}}
|
cached: ${{steps.cache-qt.outputs.cache-hit}}
|
||||||
|
|
||||||
|
- name: Install LLVM
|
||||||
|
run: |
|
||||||
|
$TempDir = "$env:RUNNER_WORKSPACE\temp"
|
||||||
|
$Filename = "LLVM-$env:LLVM_VERSION-win64.exe"
|
||||||
|
New-Item -Path "$TempDir" -ItemType Directory -ea 0
|
||||||
|
(New-Object Net.WebClient).DownloadFile("https://github.com/llvm/llvm-project/releases/download/llvmorg-$env:LLVM_VERSION/$Filename", "$TempDir\$Filename")
|
||||||
|
Start-Process "$TempDir\$Filename" -ArgumentList "/S" -Wait
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: choco install ninja
|
run: choco install ninja
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user