mirror of
https://github.com/reactos/reactos.git
synced 2026-05-31 16:31:07 +08:00
[GITHUB] Get LLVM latest version from chocolatey repository
Also, explicitly set target in toolchain file to help CMake getting things right.
This commit is contained in:
committed by
Jérôme Gardou
parent
56e56f8ecc
commit
cad583967b
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
@@ -102,7 +102,9 @@ jobs:
|
||||
runs-on: windows-latest
|
||||
steps:
|
||||
- name: Install packages
|
||||
run: choco install ninja -y
|
||||
run: |
|
||||
choco install ninja -y
|
||||
choco install --x86 -y llvm
|
||||
- name: Install Flex and Bison
|
||||
run: |
|
||||
curl -O https://svn.reactos.org/storage/vperevertkin/flexbison.7z
|
||||
@@ -121,7 +123,7 @@ jobs:
|
||||
run: |
|
||||
mkdir build
|
||||
cd build
|
||||
$env:PATH = "$env:VCToolsInstallDir\..\..\Llvm\bin;$env:PATH"
|
||||
$env:PATH = "${env:PROGRAMFILES(X86)}\llvm\bin;$env:PATH"
|
||||
cmake -G Ninja -DCMAKE_TOOLCHAIN_FILE:FILEPATH=toolchain-msvc.cmake -DARCH:STRING=i386 -DENABLE_ROSTESTS=1 -DENABLE_ROSAPPS=1 -DUSE_CLANG_CL:BOOL=1 ${{github.workspace}}\src
|
||||
- name: Build
|
||||
working-directory: ${{github.workspace}}\build
|
||||
|
||||
Reference in New Issue
Block a user