File tree Expand file tree Collapse file tree 2 files changed +20
-12
lines changed Expand file tree Collapse file tree 2 files changed +20
-12
lines changed Original file line number Diff line number Diff line change 17
17
options :
18
18
- push
19
19
- schedule
20
+ schedule :
21
+ - cron : ' 30 13 * * 0' # 13:30 UTC on Sundays
20
22
21
23
jobs :
22
24
prepare :
25
+ if : (github.event_name != 'schedule') || (github.repository == 'mstorsjo/llvm-mingw')
23
26
runs-on : ubuntu-latest
24
27
outputs :
25
28
LLVM_VERSION : ${{steps.get-parameters.outputs.LLVM_VERSION}}
29
32
with :
30
33
workflow : build.yml
31
34
workflow_conclusion : success
32
- commit : ${{inputs.commit}}
33
- branch : ${{inputs.commit == '' && inputs.branch || ''}}
34
- event : ${{inputs.pipeline_type}}
35
+ commit : ${{github.event_name != 'schedule' && inputs.commit || '' }}
36
+ branch : ${{github.event_name == 'schedule' && 'master' || ( inputs.commit == '' && inputs.branch || '') }}
37
+ event : ${{github.event_name == 'schedule' && 'schedule' || inputs.pipeline_type}}
35
38
name : parameters
36
39
- name : Get build parameters
37
40
id : get-parameters
40
43
cat $GITHUB_OUTPUT
41
44
42
45
test-libcxx :
46
+ if : (github.event_name != 'schedule') || (github.repository == 'mstorsjo/llvm-mingw')
43
47
needs : [prepare]
44
48
strategy :
45
49
fail-fast : false
59
63
with :
60
64
workflow : build.yml
61
65
workflow_conclusion : success
62
- commit : ${{inputs.commit}}
63
- branch : ${{inputs.commit == '' && inputs.branch || ''}}
64
- event : ${{inputs.pipeline_type}}
66
+ commit : ${{github.event_name != 'schedule' && inputs.commit || '' }}
67
+ branch : ${{github.event_name == 'schedule' && 'master' || ( inputs.commit == '' && inputs.branch || '') }}
68
+ event : ${{github.event_name == 'schedule' && 'schedule' || inputs.pipeline_type}}
65
69
name : windows-ucrt-${{matrix.arch}}-toolchain
66
70
- name : Unpack toolchain
67
71
run : |
Original file line number Diff line number Diff line change 17
17
options :
18
18
- push
19
19
- schedule
20
+ schedule :
21
+ - cron : ' 30 13 * * 0' # 13:30 UTC on Sundays
20
22
21
23
jobs :
22
24
prepare :
25
+ if : (github.event_name != 'schedule') || (github.repository == 'mstorsjo/llvm-mingw')
23
26
runs-on : ubuntu-latest
24
27
outputs :
25
28
LLVM_VERSION : ${{steps.get-parameters.outputs.LLVM_VERSION}}
29
32
with :
30
33
workflow : build.yml
31
34
workflow_conclusion : success
32
- commit : ${{inputs.commit}}
33
- branch : ${{inputs.commit == '' && inputs.branch || ''}}
34
- event : ${{inputs.pipeline_type}}
35
+ commit : ${{github.event_name != 'schedule' && inputs.commit || '' }}
36
+ branch : ${{github.event_name == 'schedule' && 'master' || ( inputs.commit == '' && inputs.branch || '') }}
37
+ event : ${{github.event_name == 'schedule' && 'schedule' || inputs.pipeline_type}}
35
38
name : parameters
36
39
- name : Get build parameters
37
40
id : get-parameters
40
43
cat $GITHUB_OUTPUT
41
44
42
45
test-llvm :
46
+ if : (github.event_name != 'schedule') || (github.repository == 'mstorsjo/llvm-mingw')
43
47
needs : [prepare]
44
48
strategy :
45
49
fail-fast : false
57
61
with :
58
62
workflow : build.yml
59
63
workflow_conclusion : success
60
- commit : ${{inputs.commit}}
61
- branch : ${{inputs.commit == '' && inputs.branch || ''}}
62
- event : ${{inputs.pipeline_type}}
64
+ commit : ${{github.event_name != 'schedule' && inputs.commit || '' }}
65
+ branch : ${{github.event_name == 'schedule' && 'master' || ( inputs.commit == '' && inputs.branch || '') }}
66
+ event : ${{github.event_name == 'schedule' && 'schedule' || inputs.pipeline_type}}
63
67
name : windows-ucrt-${{matrix.arch}}-toolchain
64
68
- name : Unpack toolchain
65
69
run : |
You can’t perform that action at this time.
0 commit comments