File tree Expand file tree Collapse file tree 1 file changed +12
-3
lines changed
Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -23,18 +23,27 @@ jobs:
2323 - name : Checkout source
2424 uses : actions/checkout@v4
2525
26+ # --- NEW STEP ADDED: Install LLVM ---
27+ # Ye step teeno OS (Win/Mac/Linux) par LLVM install karega
28+ # taaki CMake ko "LLVMConfig.cmake" mil sake.
29+ - name : Setup LLVM
30+ uses : wang-xinyu/setup-llvm@v1
31+ with :
32+ version : ' 17' # Aap apni zaroorat ke hisaab se version change kar sakte hain (16, 17, 18)
33+
2634 - name : Setup CMake
2735 uses : lukka/get-cmake@latest
2836
2937 - name : Configure
3038 shell : bash
39+ # Humne LLVM_DIR add kiya hai taaki CMake ko pata chale LLVM kahan installed hai
3140 run : |
3241 cmake -S . -B build \
3342 -DCMAKE_BUILD_TYPE=${{ env.BUILD_TYPE }} \
3443 -DBUILD_TESTS=OFF \
35- -DBUILD_BENCH=OFF
44+ -DBUILD_BENCH=OFF \
45+ -DLLVM_DIR="${{ env.LLVM_PATH }}/lib/cmake/llvm"
3646
3747 - name : Build (verbose)
3848 shell : bash
39- run : cmake --build build --verbose
40-
49+ run : cmake --build build --verbose --config ${{ env.BUILD_TYPE }}
You can’t perform that action at this time.
0 commit comments