diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f52a42a2f..a498dc6ce 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -130,10 +130,15 @@ jobs: # ninja version to download. Default: 1.10.0 version: 1.10.0 dest: ${{ github.workspace }}/ninja_bin + + - name: Add prebuilt llvm install dir to PATH + run: | + "${{ github.workspace }}/llvm-install-${{ env.LLVM_VER }}/bin\n" + (Get-Content $env:GITHUB_PATH -Raw) | Set-Content $env:GITHUB_PATH + - name: Configure CMake env: CMAKE_PREFIX_PATH: ${{ github.workspace }}/llvm-install-${{ env.LLVM_VER }} - run: cmake -B build -G Ninja -DFINAL_STAGE=1 -DCMAKE_CXX_COMPILER=clang.exe -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=jakt-install + run: cmake -B build -G Ninja -DFINAL_STAGE=1 "-DCMAKE_CXX_COMPILER=${{ github.workspace }}/llvm-install-${{ env.LLVM_VER }}/bin/clang.exe" -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=jakt-install - name: Build Jakt Stage 1 Selfhost run: cmake --build build