@@ -118,9 +118,15 @@ jobs:
118
118
echo "ref=$ref" >> $GITHUB_OUTPUT
119
119
echo "upload=$upload" >> $GITHUB_OUTPUT
120
120
121
+ if [ "$RUNNER_OS" = "Windows" ]; then
122
+ release_binary_suffix="exe"
123
+ else
124
+ release_binary_suffix="tar.xz"
125
+ fi
126
+
121
127
release_binary_basename="LLVM-$release_version-$RUNNER_OS-$RUNNER_ARCH"
122
128
echo "release-binary-basename=$release_binary_basename" >> $GITHUB_OUTPUT
123
- echo "release-binary-filename=$release_binary_basename.tar.xz " >> $GITHUB_OUTPUT
129
+ echo "release-binary-filename=$release_binary_basename.$release_binary_suffix " >> $GITHUB_OUTPUT
124
130
125
131
target="$RUNNER_OS-$RUNNER_ARCH"
126
132
# The hendrikmuhs/ccache-action action does not support installing sccache
@@ -151,11 +157,6 @@ jobs:
151
157
152
158
build_flang="true"
153
159
154
- if [ "$RUNNER_OS" = "Windows" ]; then
155
- # The build times out on Windows, so we need to disable LTO.
156
- target_cmake_flags="$target_cmake_flags -DLLVM_RELEASE_ENABLE_LTO=OFF"
157
- fi
158
-
159
160
echo "target-cmake-flags=$target_cmake_flags" >> $GITHUB_OUTPUT
160
161
echo "build-flang=$build_flang" >> $GITHUB_OUTPUT
161
162
case "${{ inputs.runs-on }}" in
@@ -179,6 +180,10 @@ jobs:
179
180
fi
180
181
test_runs_on="${{ inputs.runs-on }}"
181
182
;;
183
+ windows-2019)
184
+ build_runs_on="llvm-premerge-windows-runners"
185
+ test_runs_on="$build_runs_on"
186
+ ;;
182
187
*)
183
188
test_runs_on="${{ inputs.runs-on }}"
184
189
build_runs_on=$test_runs_on
0 commit comments