[llvm] Add Windows release binary builds (PR #150793)

Tom Stellard via llvm-commits llvm-commits at lists.llvm.org
Sat Jul 26 21:19:08 PDT 2025


https://github.com/tstellar updated https://github.com/llvm/llvm-project/pull/150793

>From 2bc5c1ae0c21ebc0bfa28777d19751fe2a811487 Mon Sep 17 00:00:00 2001
From: Tom Stellard <tstellar at redhat.com>
Date: Sat, 26 Jul 2025 12:27:08 -0700
Subject: [PATCH 1/5] Add Windows release binary builds

---
 .github/workflows/release-binaries-windows.yml | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 .github/workflows/release-binaries-windows.yml

diff --git a/.github/workflows/release-binaries-windows.yml b/.github/workflows/release-binaries-windows.yml
new file mode 100644
index 0000000000000..fa116bc9a379a
--- /dev/null
+++ b/.github/workflows/release-binaries-windows.yml
@@ -0,0 +1,17 @@
+name: Release Binaries Windows
+
+on:
+  pull:
+
+
+permissions:
+  contents: read # Default everything to read-only
+
+jobs:
+  build-windows-release:
+    runs-on: depot-windows-2022-16
+    if: github.repository_owner == 'llvm'
+    steps:
+      - uses: actions/checkout at b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
+      - run: |
+        llvm\utils\release\build_llvm_release.bat --x64 --version 20.1.8

>From 860dff2f330bd9c976cdabc77076c83f8da9b8d5 Mon Sep 17 00:00:00 2001
From: Tom Stellard <tstellar at redhat.com>
Date: Sat, 26 Jul 2025 12:29:47 -0700
Subject: [PATCH 2/5] Fix

---
 .github/workflows/release-binaries-windows.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/release-binaries-windows.yml b/.github/workflows/release-binaries-windows.yml
index fa116bc9a379a..630a2facba8b4 100644
--- a/.github/workflows/release-binaries-windows.yml
+++ b/.github/workflows/release-binaries-windows.yml
@@ -14,4 +14,4 @@ jobs:
     steps:
       - uses: actions/checkout at b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
       - run: |
-        llvm\utils\release\build_llvm_release.bat --x64 --version 20.1.8
+          llvm\utils\release\build_llvm_release.bat --x64 --version 20.1.8

>From 6533e4438019c747abd4f9b1d6e6c32ce7948c90 Mon Sep 17 00:00:00 2001
From: Tom Stellard <tstellar at redhat.com>
Date: Sat, 26 Jul 2025 12:31:42 -0700
Subject: [PATCH 3/5] Fix

---
 .github/workflows/release-binaries-windows.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/release-binaries-windows.yml b/.github/workflows/release-binaries-windows.yml
index 630a2facba8b4..a7a4dc969ea43 100644
--- a/.github/workflows/release-binaries-windows.yml
+++ b/.github/workflows/release-binaries-windows.yml
@@ -1,7 +1,7 @@
 name: Release Binaries Windows
 
 on:
-  pull:
+  pull_request:
 
 
 permissions:

>From 04381bbafc5b02ada4eb0cd5e0d43b4e637e3b93 Mon Sep 17 00:00:00 2001
From: Tom Stellard <tstellar at redhat.com>
Date: Sat, 26 Jul 2025 12:45:05 -0700
Subject: [PATCH 4/5] Fix

---
 .github/workflows/release-binaries-windows.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/release-binaries-windows.yml b/.github/workflows/release-binaries-windows.yml
index a7a4dc969ea43..58a1ad17ee44c 100644
--- a/.github/workflows/release-binaries-windows.yml
+++ b/.github/workflows/release-binaries-windows.yml
@@ -14,4 +14,4 @@ jobs:
     steps:
       - uses: actions/checkout at b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
       - run: |
-          llvm\utils\release\build_llvm_release.bat --x64 --version 20.1.8
+          llvm\utils\release\build_llvm_release.bat --x64 --version 20.1.8 --local-python

>From 1a9ddddab34c48a532b397db2294aa8e2d868a21 Mon Sep 17 00:00:00 2001
From: Tom Stellard <tstellar at redhat.com>
Date: Sat, 26 Jul 2025 21:18:40 -0700
Subject: [PATCH 5/5] Fix

---
 .github/workflows/release-binaries-windows.yml | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/release-binaries-windows.yml b/.github/workflows/release-binaries-windows.yml
index 58a1ad17ee44c..86951337aa2ee 100644
--- a/.github/workflows/release-binaries-windows.yml
+++ b/.github/workflows/release-binaries-windows.yml
@@ -12,6 +12,8 @@ jobs:
     runs-on: depot-windows-2022-16
     if: github.repository_owner == 'llvm'
     steps:
-      - uses: actions/checkout at b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
+      - uses: actions/checkout at b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1A
+        with:
+          ref: llvmorg-20.1.8
       - run: |
-          llvm\utils\release\build_llvm_release.bat --x64 --version 20.1.8 --local-python
+          llvm\utils\release\build_llvm_release.bat --x64 --version 20.1.8 --skip-checkout --local-python



More information about the llvm-commits mailing list