Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions .github/build-llvm-for-windows.yaml
Original file line number Diff line number Diff line change
@@ -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/