[llvm] workflows: Use build_llvm_release.bat for Windows release builds (PR #117035)
Tom Stellard via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 20 11:32:17 PST 2024
https://github.com/tstellar created https://github.com/llvm/llvm-project/pull/117035
Also test out the new depot runners
>From 5e6562c82386b8dbe1e9f7b87db0f43eae715402 Mon Sep 17 00:00:00 2001
From: Tom Stellard <tstellar at redhat.com>
Date: Sat, 16 Nov 2024 18:38:28 +0000
Subject: [PATCH 1/2] workflows: Use build_llvm_release.bat for Windows release
builds
Also test out the new depot runners.
---
.github/workflows/release-binaries-all.yml | 18 ++++++++++++++++--
1 file changed, 16 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/release-binaries-all.yml b/.github/workflows/release-binaries-all.yml
index f5318aecc53a7f..94253db392ddbb 100644
--- a/.github/workflows/release-binaries-all.yml
+++ b/.github/workflows/release-binaries-all.yml
@@ -71,6 +71,7 @@ jobs:
echo "upload=$upload" >> "$GITHUB_OUTPUT"
release-binaries-all:
+ if: false
name: Build Release Binaries
needs:
- setup-variables
@@ -82,8 +83,7 @@ jobs:
fail-fast: false
matrix:
runs-on:
- - ubuntu-22.04
- - windows-2022
+ - depot-ubuntu-22.04-4
- macos-13
- macos-14
@@ -97,3 +97,17 @@ jobs:
# the release-binaries workflow does not use this secret for the
# pull_request event.
RELEASE_TASKS_USER_TOKEN: ${{ secrets.RELEASE_TASKS_USER_TOKEN }}
+
+ release-binaries-windows:
+ name: Build Windows Release Binaries
+ needs:
+ - setup-variables
+ runs-on: depot-windows-2022-4
+ steps:
+ - name: Checkout LLVM
+ uses: actions/checkout at b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
+
+ - name: Build Release
+ run: |
+ dir
+ llvm\\utils\\release\\build_llvm_release.bat --version ${{ needs.setup-variables.outputs.release-version }} --x64 --local-python
>From f3038f85ba771d81d3f83ce2075aad08c1e4629a Mon Sep 17 00:00:00 2001
From: Tom Stellard <tstellar at redhat.com>
Date: Wed, 20 Nov 2024 19:22:12 +0000
Subject: [PATCH 2/2] XXX: Debug
---
.github/workflows/release-binaries-all.yml | 3 ---
1 file changed, 3 deletions(-)
diff --git a/.github/workflows/release-binaries-all.yml b/.github/workflows/release-binaries-all.yml
index 94253db392ddbb..29bc1305a9b241 100644
--- a/.github/workflows/release-binaries-all.yml
+++ b/.github/workflows/release-binaries-all.yml
@@ -71,7 +71,6 @@ jobs:
echo "upload=$upload" >> "$GITHUB_OUTPUT"
release-binaries-all:
- if: false
name: Build Release Binaries
needs:
- setup-variables
@@ -84,8 +83,6 @@ jobs:
matrix:
runs-on:
- depot-ubuntu-22.04-4
- - macos-13
- - macos-14
uses: ./.github/workflows/release-binaries.yml
with:
More information about the llvm-commits
mailing list