Skip to content

Commit dc6ff11

Browse files
committed
Use sbust to shorten paths
1 parent 8326bcb commit dc6ff11

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/release-binaries.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,9 @@ jobs:
257257
# There were some issues on the ARM64 MacOS runners with trying to build x86 object,
258258
# so we need to set some extra cmake flags to disable this.
259259
export PATH=C:\Strawberry\c\bin\:$PATH
260-
$CMAKE -G Ninja -S llvm -B ${{ steps.setup-stage.outputs.build-prefix }}/build \
260+
subst S: ${{ github.workspace }}
261+
subst B: ${{ steps.setup-stage.outputs.build-prefix }}/build
262+
$CMAKE -G Ninja -S S:\llvm -B B:\ \
261263
${{ needs.prepare.outputs.target-cmake-flags }} \
262264
-C clang/cmake/caches/Release.cmake \
263265
-DBOOTSTRAP_LLVM_PARALLEL_LINK_JOBS=1 \
@@ -282,7 +284,7 @@ jobs:
282284
shell: bash
283285
if: runner.os != 'Windows'
284286
run: |
285-
ninja -v -C ${{ steps.setup-stage.outputs.build-prefix }}/build stage2-package
287+
ninja -v -C /b stage2-package
286288
release_dir=`find ${{ steps.setup-stage.outputs.build-prefix }}/build -iname 'stage2-bins'`
287289
mv $release_dir/${{ needs.prepare.outputs.release-binary-filename }} .
288290

0 commit comments

Comments
 (0)