@@ -26,7 +26,7 @@ name: CI
26
26
- " **"
27
27
defaults :
28
28
run :
29
- shell : " python src/ci/exec-with-shell.py {0} "
29
+ shell : bash
30
30
jobs :
31
31
pr :
32
32
name : PR
54
54
steps :
55
55
- name : disable git crlf conversion
56
56
run : git config --global core.autocrlf false
57
- shell : bash
58
57
- name : checkout the source code
59
58
uses : actions/checkout@v1
60
59
with :
@@ -66,85 +65,66 @@ jobs:
66
65
if : " success() && !env.SKIP_JOB && github.ref != 'refs/heads/try'"
67
66
- name : add extra environment variables
68
67
run : src/ci/scripts/setup-environment.sh
69
- shell : bash
70
68
env :
71
69
EXTRA_VARIABLES : " ${{ toJson(matrix.env) }}"
72
70
if : success() && !env.SKIP_JOB
73
71
- name : decide whether to skip this job
74
72
run : src/ci/scripts/should-skip-this.sh
75
- shell : bash
76
73
if : success() && !env.SKIP_JOB
77
74
- name : collect CPU statistics
78
75
run : src/ci/scripts/collect-cpu-stats.sh
79
- shell : bash
80
76
if : success() && !env.SKIP_JOB
81
77
- name : show the current environment
82
78
run : src/ci/scripts/dump-environment.sh
83
- shell : bash
84
79
if : success() && !env.SKIP_JOB
85
80
- name : install awscli
86
81
run : src/ci/scripts/install-awscli.sh
87
- shell : bash
88
82
if : success() && !env.SKIP_JOB
89
83
- name : install sccache
90
84
run : src/ci/scripts/install-sccache.sh
91
- shell : bash
92
85
if : success() && !env.SKIP_JOB
93
86
- name : install clang
94
87
run : src/ci/scripts/install-clang.sh
95
- shell : bash
96
88
if : success() && !env.SKIP_JOB
97
89
- name : install WIX
98
90
run : src/ci/scripts/install-wix.sh
99
- shell : bash
100
91
if : success() && !env.SKIP_JOB
101
92
- name : ensure the build happens on a partition with enough space
102
93
run : src/ci/scripts/symlink-build-dir.sh
103
- shell : bash
104
94
if : success() && !env.SKIP_JOB
105
95
- name : disable git crlf conversion
106
96
run : src/ci/scripts/disable-git-crlf-conversion.sh
107
- shell : bash
108
97
if : success() && !env.SKIP_JOB
109
98
- name : install MSYS2
110
99
run : src/ci/scripts/install-msys2.sh
111
- shell : bash
112
100
if : success() && !env.SKIP_JOB
113
101
- name : install MinGW
114
102
run : src/ci/scripts/install-mingw.sh
115
- shell : bash
116
103
if : success() && !env.SKIP_JOB
117
104
- name : install ninja
118
105
run : src/ci/scripts/install-ninja.sh
119
- shell : bash
120
106
if : success() && !env.SKIP_JOB
121
107
- name : enable ipv6 on Docker
122
108
run : src/ci/scripts/enable-docker-ipv6.sh
123
- shell : bash
124
109
if : success() && !env.SKIP_JOB
125
110
- name : disable git crlf conversion
126
111
run : src/ci/scripts/disable-git-crlf-conversion.sh
127
- shell : bash
128
112
if : success() && !env.SKIP_JOB
129
113
- name : checkout submodules
130
114
run : src/ci/scripts/checkout-submodules.sh
131
- shell : bash
132
115
if : success() && !env.SKIP_JOB
133
116
- name : ensure line endings are correct
134
117
run : src/ci/scripts/verify-line-endings.sh
135
- shell : bash
136
118
if : success() && !env.SKIP_JOB
137
119
- name : run the build
138
120
run : src/ci/scripts/run-build-from-ci.sh
139
- shell : bash
140
121
env :
141
122
AWS_ACCESS_KEY_ID : " ${{ env.CACHES_AWS_ACCESS_KEY_ID }}"
142
123
AWS_SECRET_ACCESS_KEY : " ${{ secrets[format('AWS_SECRET_ACCESS_KEY_{0}', env.CACHES_AWS_ACCESS_KEY_ID)] }}"
143
124
TOOLSTATE_REPO_ACCESS_TOKEN : " ${{ secrets.TOOLSTATE_REPO_ACCESS_TOKEN }}"
144
125
if : success() && !env.SKIP_JOB
145
126
- name : upload artifacts to S3
146
127
run : src/ci/scripts/upload-artifacts.sh
147
- shell : bash
148
128
env :
149
129
AWS_ACCESS_KEY_ID : " ${{ env.ARTIFACTS_AWS_ACCESS_KEY_ID }}"
150
130
AWS_SECRET_ACCESS_KEY : " ${{ secrets[format('AWS_SECRET_ACCESS_KEY_{0}', env.ARTIFACTS_AWS_ACCESS_KEY_ID)] }}"
@@ -173,7 +153,6 @@ jobs:
173
153
steps :
174
154
- name : disable git crlf conversion
175
155
run : git config --global core.autocrlf false
176
- shell : bash
177
156
- name : checkout the source code
178
157
uses : actions/checkout@v1
179
158
with :
@@ -185,85 +164,66 @@ jobs:
185
164
if : " success() && !env.SKIP_JOB && github.ref != 'refs/heads/try'"
186
165
- name : add extra environment variables
187
166
run : src/ci/scripts/setup-environment.sh
188
- shell : bash
189
167
env :
190
168
EXTRA_VARIABLES : " ${{ toJson(matrix.env) }}"
191
169
if : success() && !env.SKIP_JOB
192
170
- name : decide whether to skip this job
193
171
run : src/ci/scripts/should-skip-this.sh
194
- shell : bash
195
172
if : success() && !env.SKIP_JOB
196
173
- name : collect CPU statistics
197
174
run : src/ci/scripts/collect-cpu-stats.sh
198
- shell : bash
199
175
if : success() && !env.SKIP_JOB
200
176
- name : show the current environment
201
177
run : src/ci/scripts/dump-environment.sh
202
- shell : bash
203
178
if : success() && !env.SKIP_JOB
204
179
- name : install awscli
205
180
run : src/ci/scripts/install-awscli.sh
206
- shell : bash
207
181
if : success() && !env.SKIP_JOB
208
182
- name : install sccache
209
183
run : src/ci/scripts/install-sccache.sh
210
- shell : bash
211
184
if : success() && !env.SKIP_JOB
212
185
- name : install clang
213
186
run : src/ci/scripts/install-clang.sh
214
- shell : bash
215
187
if : success() && !env.SKIP_JOB
216
188
- name : install WIX
217
189
run : src/ci/scripts/install-wix.sh
218
- shell : bash
219
190
if : success() && !env.SKIP_JOB
220
191
- name : ensure the build happens on a partition with enough space
221
192
run : src/ci/scripts/symlink-build-dir.sh
222
- shell : bash
223
193
if : success() && !env.SKIP_JOB
224
194
- name : disable git crlf conversion
225
195
run : src/ci/scripts/disable-git-crlf-conversion.sh
226
- shell : bash
227
196
if : success() && !env.SKIP_JOB
228
197
- name : install MSYS2
229
198
run : src/ci/scripts/install-msys2.sh
230
- shell : bash
231
199
if : success() && !env.SKIP_JOB
232
200
- name : install MinGW
233
201
run : src/ci/scripts/install-mingw.sh
234
- shell : bash
235
202
if : success() && !env.SKIP_JOB
236
203
- name : install ninja
237
204
run : src/ci/scripts/install-ninja.sh
238
- shell : bash
239
205
if : success() && !env.SKIP_JOB
240
206
- name : enable ipv6 on Docker
241
207
run : src/ci/scripts/enable-docker-ipv6.sh
242
- shell : bash
243
208
if : success() && !env.SKIP_JOB
244
209
- name : disable git crlf conversion
245
210
run : src/ci/scripts/disable-git-crlf-conversion.sh
246
- shell : bash
247
211
if : success() && !env.SKIP_JOB
248
212
- name : checkout submodules
249
213
run : src/ci/scripts/checkout-submodules.sh
250
- shell : bash
251
214
if : success() && !env.SKIP_JOB
252
215
- name : ensure line endings are correct
253
216
run : src/ci/scripts/verify-line-endings.sh
254
- shell : bash
255
217
if : success() && !env.SKIP_JOB
256
218
- name : run the build
257
219
run : src/ci/scripts/run-build-from-ci.sh
258
- shell : bash
259
220
env :
260
221
AWS_ACCESS_KEY_ID : " ${{ env.CACHES_AWS_ACCESS_KEY_ID }}"
261
222
AWS_SECRET_ACCESS_KEY : " ${{ secrets[format('AWS_SECRET_ACCESS_KEY_{0}', env.CACHES_AWS_ACCESS_KEY_ID)] }}"
262
223
TOOLSTATE_REPO_ACCESS_TOKEN : " ${{ secrets.TOOLSTATE_REPO_ACCESS_TOKEN }}"
263
224
if : success() && !env.SKIP_JOB
264
225
- name : upload artifacts to S3
265
226
run : src/ci/scripts/upload-artifacts.sh
266
- shell : bash
267
227
env :
268
228
AWS_ACCESS_KEY_ID : " ${{ env.ARTIFACTS_AWS_ACCESS_KEY_ID }}"
269
229
AWS_SECRET_ACCESS_KEY : " ${{ secrets[format('AWS_SECRET_ACCESS_KEY_{0}', env.ARTIFACTS_AWS_ACCESS_KEY_ID)] }}"
@@ -504,7 +464,6 @@ jobs:
504
464
steps :
505
465
- name : disable git crlf conversion
506
466
run : git config --global core.autocrlf false
507
- shell : bash
508
467
- name : checkout the source code
509
468
uses : actions/checkout@v1
510
469
with :
@@ -516,85 +475,66 @@ jobs:
516
475
if : " success() && !env.SKIP_JOB && github.ref != 'refs/heads/try'"
517
476
- name : add extra environment variables
518
477
run : src/ci/scripts/setup-environment.sh
519
- shell : bash
520
478
env :
521
479
EXTRA_VARIABLES : " ${{ toJson(matrix.env) }}"
522
480
if : success() && !env.SKIP_JOB
523
481
- name : decide whether to skip this job
524
482
run : src/ci/scripts/should-skip-this.sh
525
- shell : bash
526
483
if : success() && !env.SKIP_JOB
527
484
- name : collect CPU statistics
528
485
run : src/ci/scripts/collect-cpu-stats.sh
529
- shell : bash
530
486
if : success() && !env.SKIP_JOB
531
487
- name : show the current environment
532
488
run : src/ci/scripts/dump-environment.sh
533
- shell : bash
534
489
if : success() && !env.SKIP_JOB
535
490
- name : install awscli
536
491
run : src/ci/scripts/install-awscli.sh
537
- shell : bash
538
492
if : success() && !env.SKIP_JOB
539
493
- name : install sccache
540
494
run : src/ci/scripts/install-sccache.sh
541
- shell : bash
542
495
if : success() && !env.SKIP_JOB
543
496
- name : install clang
544
497
run : src/ci/scripts/install-clang.sh
545
- shell : bash
546
498
if : success() && !env.SKIP_JOB
547
499
- name : install WIX
548
500
run : src/ci/scripts/install-wix.sh
549
- shell : bash
550
501
if : success() && !env.SKIP_JOB
551
502
- name : ensure the build happens on a partition with enough space
552
503
run : src/ci/scripts/symlink-build-dir.sh
553
- shell : bash
554
504
if : success() && !env.SKIP_JOB
555
505
- name : disable git crlf conversion
556
506
run : src/ci/scripts/disable-git-crlf-conversion.sh
557
- shell : bash
558
507
if : success() && !env.SKIP_JOB
559
508
- name : install MSYS2
560
509
run : src/ci/scripts/install-msys2.sh
561
- shell : bash
562
510
if : success() && !env.SKIP_JOB
563
511
- name : install MinGW
564
512
run : src/ci/scripts/install-mingw.sh
565
- shell : bash
566
513
if : success() && !env.SKIP_JOB
567
514
- name : install ninja
568
515
run : src/ci/scripts/install-ninja.sh
569
- shell : bash
570
516
if : success() && !env.SKIP_JOB
571
517
- name : enable ipv6 on Docker
572
518
run : src/ci/scripts/enable-docker-ipv6.sh
573
- shell : bash
574
519
if : success() && !env.SKIP_JOB
575
520
- name : disable git crlf conversion
576
521
run : src/ci/scripts/disable-git-crlf-conversion.sh
577
- shell : bash
578
522
if : success() && !env.SKIP_JOB
579
523
- name : checkout submodules
580
524
run : src/ci/scripts/checkout-submodules.sh
581
- shell : bash
582
525
if : success() && !env.SKIP_JOB
583
526
- name : ensure line endings are correct
584
527
run : src/ci/scripts/verify-line-endings.sh
585
- shell : bash
586
528
if : success() && !env.SKIP_JOB
587
529
- name : run the build
588
530
run : src/ci/scripts/run-build-from-ci.sh
589
- shell : bash
590
531
env :
591
532
AWS_ACCESS_KEY_ID : " ${{ env.CACHES_AWS_ACCESS_KEY_ID }}"
592
533
AWS_SECRET_ACCESS_KEY : " ${{ secrets[format('AWS_SECRET_ACCESS_KEY_{0}', env.CACHES_AWS_ACCESS_KEY_ID)] }}"
593
534
TOOLSTATE_REPO_ACCESS_TOKEN : " ${{ secrets.TOOLSTATE_REPO_ACCESS_TOKEN }}"
594
535
if : success() && !env.SKIP_JOB
595
536
- name : upload artifacts to S3
596
537
run : src/ci/scripts/upload-artifacts.sh
597
- shell : bash
598
538
env :
599
539
AWS_ACCESS_KEY_ID : " ${{ env.ARTIFACTS_AWS_ACCESS_KEY_ID }}"
600
540
AWS_SECRET_ACCESS_KEY : " ${{ secrets[format('AWS_SECRET_ACCESS_KEY_{0}', env.ARTIFACTS_AWS_ACCESS_KEY_ID)] }}"
@@ -649,7 +589,6 @@ jobs:
649
589
steps :
650
590
- name : disable git crlf conversion
651
591
run : git config --global core.autocrlf false
652
- shell : bash
653
592
- name : checkout the source code
654
593
uses : actions/checkout@v1
655
594
with :
@@ -661,85 +600,66 @@ jobs:
661
600
if : " success() && !env.SKIP_JOB && github.ref != 'refs/heads/try'"
662
601
- name : add extra environment variables
663
602
run : src/ci/scripts/setup-environment.sh
664
- shell : bash
665
603
env :
666
604
EXTRA_VARIABLES : " ${{ toJson(matrix.env) }}"
667
605
if : success() && !env.SKIP_JOB
668
606
- name : decide whether to skip this job
669
607
run : src/ci/scripts/should-skip-this.sh
670
- shell : bash
671
608
if : success() && !env.SKIP_JOB
672
609
- name : collect CPU statistics
673
610
run : src/ci/scripts/collect-cpu-stats.sh
674
- shell : bash
675
611
if : success() && !env.SKIP_JOB
676
612
- name : show the current environment
677
613
run : src/ci/scripts/dump-environment.sh
678
- shell : bash
679
614
if : success() && !env.SKIP_JOB
680
615
- name : install awscli
681
616
run : src/ci/scripts/install-awscli.sh
682
- shell : bash
683
617
if : success() && !env.SKIP_JOB
684
618
- name : install sccache
685
619
run : src/ci/scripts/install-sccache.sh
686
- shell : bash
687
620
if : success() && !env.SKIP_JOB
688
621
- name : install clang
689
622
run : src/ci/scripts/install-clang.sh
690
- shell : bash
691
623
if : success() && !env.SKIP_JOB
692
624
- name : install WIX
693
625
run : src/ci/scripts/install-wix.sh
694
- shell : bash
695
626
if : success() && !env.SKIP_JOB
696
627
- name : ensure the build happens on a partition with enough space
697
628
run : src/ci/scripts/symlink-build-dir.sh
698
- shell : bash
699
629
if : success() && !env.SKIP_JOB
700
630
- name : disable git crlf conversion
701
631
run : src/ci/scripts/disable-git-crlf-conversion.sh
702
- shell : bash
703
632
if : success() && !env.SKIP_JOB
704
633
- name : install MSYS2
705
634
run : src/ci/scripts/install-msys2.sh
706
- shell : bash
707
635
if : success() && !env.SKIP_JOB
708
636
- name : install MinGW
709
637
run : src/ci/scripts/install-mingw.sh
710
- shell : bash
711
638
if : success() && !env.SKIP_JOB
712
639
- name : install ninja
713
640
run : src/ci/scripts/install-ninja.sh
714
- shell : bash
715
641
if : success() && !env.SKIP_JOB
716
642
- name : enable ipv6 on Docker
717
643
run : src/ci/scripts/enable-docker-ipv6.sh
718
- shell : bash
719
644
if : success() && !env.SKIP_JOB
720
645
- name : disable git crlf conversion
721
646
run : src/ci/scripts/disable-git-crlf-conversion.sh
722
- shell : bash
723
647
if : success() && !env.SKIP_JOB
724
648
- name : checkout submodules
725
649
run : src/ci/scripts/checkout-submodules.sh
726
- shell : bash
727
650
if : success() && !env.SKIP_JOB
728
651
- name : ensure line endings are correct
729
652
run : src/ci/scripts/verify-line-endings.sh
730
- shell : bash
731
653
if : success() && !env.SKIP_JOB
732
654
- name : run the build
733
655
run : src/ci/scripts/run-build-from-ci.sh
734
- shell : bash
735
656
env :
736
657
AWS_ACCESS_KEY_ID : " ${{ env.CACHES_AWS_ACCESS_KEY_ID }}"
737
658
AWS_SECRET_ACCESS_KEY : " ${{ secrets[format('AWS_SECRET_ACCESS_KEY_{0}', env.CACHES_AWS_ACCESS_KEY_ID)] }}"
738
659
TOOLSTATE_REPO_ACCESS_TOKEN : " ${{ secrets.TOOLSTATE_REPO_ACCESS_TOKEN }}"
739
660
if : success() && !env.SKIP_JOB
740
661
- name : upload artifacts to S3
741
662
run : src/ci/scripts/upload-artifacts.sh
742
- shell : bash
743
663
env :
744
664
AWS_ACCESS_KEY_ID : " ${{ env.ARTIFACTS_AWS_ACCESS_KEY_ID }}"
745
665
AWS_SECRET_ACCESS_KEY : " ${{ secrets[format('AWS_SECRET_ACCESS_KEY_{0}', env.ARTIFACTS_AWS_ACCESS_KEY_ID)] }}"
0 commit comments