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