Skip to content

Commit 942be8b

Browse files
committed
Fix path shortening
1 parent dc6ff11 commit 942be8b

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/release-binaries.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,11 @@ jobs:
247247
id: setup-stage
248248
uses: ./workflows-main/.github/workflows/release-binaries-setup-stage
249249

250+
- name: Shorten paths on windows
251+
run:
252+
subst S: ${{ github.workspace }}
253+
subst B: ${{ steps.setup-stage.outputs.build-prefix }}
254+
250255
- name: Configure
251256
id: build
252257
shell: bash
@@ -257,9 +262,7 @@ jobs:
257262
# There were some issues on the ARM64 MacOS runners with trying to build x86 object,
258263
# so we need to set some extra cmake flags to disable this.
259264
export PATH=C:\Strawberry\c\bin\:$PATH
260-
subst S: ${{ github.workspace }}
261-
subst B: ${{ steps.setup-stage.outputs.build-prefix }}/build
262-
$CMAKE -G Ninja -S S:\llvm -B B:\ \
265+
$CMAKE -G Ninja -S /s/llvm/ -B /b \
263266
${{ needs.prepare.outputs.target-cmake-flags }} \
264267
-C clang/cmake/caches/Release.cmake \
265268
-DBOOTSTRAP_LLVM_PARALLEL_LINK_JOBS=1 \

0 commit comments

Comments
 (0)