Skip to content

Commit 03e9744

Browse files
committed
.github: rely on new llvm-project checkout
This is now baked into the docker images to speed up premerge cycle times.
1 parent 47424df commit 03e9744

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/premerge.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,11 @@ concurrency:
2626
jobs:
2727
premerge-checks-linux:
2828
name: Linux Premerge Checks (Test Only - Please Ignore Results)
29+
defaults:
30+
run:
31+
# The premerge Linux docker instance keeps a pristine clone of LLVM in
32+
# /home/gha/llvm-project; that should be used as our main workdir.
33+
working-directory: /home/gha/llvm-project
2934
if: >-
3035
github.repository_owner == 'llvm' &&
3136
(github.event_name != 'pull_request' || github.event.action != 'closed')
@@ -34,7 +39,7 @@ jobs:
3439
- name: Checkout LLVM
3540
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
3641
with:
37-
fetch-depth: 2
42+
path: /home/gha/llvm-project
3843
- name: Setup ccache
3944
uses: hendrikmuhs/ccache-action@a1209f81afb8c005c13b4296c32e363431bffea5 # v1.2.17
4045
with:

0 commit comments

Comments
 (0)