diff --git a/.github/build-llvm-for-windows.yaml b/.github/build-llvm-for-windows.yaml new file mode 100644 index 0000000000000..e92cf4f1bfc89 --- /dev/null +++ b/.github/build-llvm-for-windows.yaml @@ -0,0 +1,37 @@ +name: Build LLVM for Windows + +on: + push: + branches: [ build ] + pull_request: + branches: [ build ] + workflow_dispatch: + +jobs: + build: + runs-on: windows-latest + + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Install dependencies + run: | + choco install ninja cmake -y + + - name: Configure LLVM + run: | + mkdir build + cd build + cmake -G "Ninja" -DCMAKE_BUILD_TYPE=Release ../llvm + + - name: Build LLVM + run: | + cd build + ninja + + - name: Archive Build Artifacts + uses: actions/upload-artifact@v4 + with: + name: llvm-windows-build + path: build/