File tree 1 file changed +11
-7
lines changed
1 file changed +11
-7
lines changed Original file line number Diff line number Diff line change @@ -26,20 +26,24 @@ concurrency:
26
26
jobs :
27
27
premerge-checks-linux :
28
28
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
34
29
if : >-
35
30
github.repository_owner == 'llvm' &&
36
31
(github.event_name != 'pull_request' || github.event.action != 'closed')
37
- runs-on : llvm-premerge-linux-runners
38
32
steps :
33
+ - name : Seed LLVM repo
34
+ run : |
35
+ # Github creates a directory at GITHUB_WORKSPACE by defualt; replace it
36
+ # with a symlink to our pre-checked-out LLVM repo (this is necessary
37
+ # since actions/checkout _really wants_ a path inside of
38
+ # `${GITHUB_WORKSPACE}`
39
+ rmdir "${GITHUB_WORKSPACE}"
40
+ ln -s /home/gha/llvm-project "${GITHUB_WORKSPACE}"
39
41
- name : Checkout LLVM
40
42
uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
41
43
with :
42
- path : /home/gha/llvm-project
44
+ fetch-depth : 2
45
+ # This repo is frozen with the docker container; no need to clean.
46
+ clean : false
43
47
- name : Setup ccache
44
48
uses : hendrikmuhs/ccache-action@a1209f81afb8c005c13b4296c32e363431bffea5 # v1.2.17
45
49
with :
You can’t perform that action at this time.
0 commit comments