@@ -66,72 +66,91 @@ jobs:
66
66
if : " success() && !env.SKIP_JOB && github.ref != 'refs/heads/try'"
67
67
- name : add extra environment variables
68
68
run : src/ci/scripts/setup-environment.sh
69
+ shell : bash
69
70
env :
70
71
EXTRA_VARIABLES : " ${{ toJson(matrix.env) }}"
71
72
if : success() && !env.SKIP_JOB
72
73
- name : decide whether to skip this job
73
74
run : src/ci/scripts/should-skip-this.sh
75
+ shell : bash
74
76
if : success() && !env.SKIP_JOB
75
77
- name : collect CPU statistics
76
78
run : src/ci/scripts/collect-cpu-stats.sh
79
+ shell : bash
77
80
if : success() && !env.SKIP_JOB
78
81
- name : show the current environment
79
82
run : src/ci/scripts/dump-environment.sh
83
+ shell : bash
80
84
if : success() && !env.SKIP_JOB
81
85
- name : install awscli
82
86
run : src/ci/scripts/install-awscli.sh
87
+ shell : bash
83
88
if : success() && !env.SKIP_JOB
84
89
- name : install sccache
85
90
run : src/ci/scripts/install-sccache.sh
91
+ shell : bash
86
92
if : success() && !env.SKIP_JOB
87
93
- name : install clang
88
94
run : src/ci/scripts/install-clang.sh
95
+ shell : bash
89
96
if : success() && !env.SKIP_JOB
90
97
- name : install WIX
91
98
run : src/ci/scripts/install-wix.sh
99
+ shell : bash
92
100
if : success() && !env.SKIP_JOB
93
101
- name : install InnoSetup
94
102
run : src/ci/scripts/install-innosetup.sh
95
103
if : success() && !env.SKIP_JOB
96
104
- name : ensure the build happens on a partition with enough space
97
105
run : src/ci/scripts/symlink-build-dir.sh
106
+ shell : bash
98
107
if : success() && !env.SKIP_JOB
99
108
- name : disable git crlf conversion
100
109
run : src/ci/scripts/disable-git-crlf-conversion.sh
110
+ shell : bash
101
111
if : success() && !env.SKIP_JOB
102
112
- name : install MSYS2
103
113
run : src/ci/scripts/install-msys2.sh
114
+ shell : bash
104
115
if : success() && !env.SKIP_JOB
105
116
- name : install MSYS2 packages
106
117
run : src/ci/scripts/install-msys2-packages.sh
107
118
if : success() && !env.SKIP_JOB
108
119
- name : install MinGW
109
120
run : src/ci/scripts/install-mingw.sh
121
+ shell : bash
110
122
if : success() && !env.SKIP_JOB
111
123
- name : install ninja
112
124
run : src/ci/scripts/install-ninja.sh
125
+ shell : bash
113
126
if : success() && !env.SKIP_JOB
114
127
- name : enable ipv6 on Docker
115
128
run : src/ci/scripts/enable-docker-ipv6.sh
129
+ shell : bash
116
130
if : success() && !env.SKIP_JOB
117
131
- name : disable git crlf conversion
118
132
run : src/ci/scripts/disable-git-crlf-conversion.sh
133
+ shell : bash
119
134
if : success() && !env.SKIP_JOB
120
135
- name : checkout submodules
121
136
run : src/ci/scripts/checkout-submodules.sh
137
+ shell : bash
122
138
if : success() && !env.SKIP_JOB
123
139
- name : ensure line endings are correct
124
140
run : src/ci/scripts/verify-line-endings.sh
141
+ shell : bash
125
142
if : success() && !env.SKIP_JOB
126
143
- name : run the build
127
144
run : src/ci/scripts/run-build-from-ci.sh
145
+ shell : bash
128
146
env :
129
147
AWS_ACCESS_KEY_ID : " ${{ env.CACHES_AWS_ACCESS_KEY_ID }}"
130
148
AWS_SECRET_ACCESS_KEY : " ${{ secrets[format('AWS_SECRET_ACCESS_KEY_{0}', env.CACHES_AWS_ACCESS_KEY_ID)] }}"
131
149
TOOLSTATE_REPO_ACCESS_TOKEN : " ${{ secrets.TOOLSTATE_REPO_ACCESS_TOKEN }}"
132
150
if : success() && !env.SKIP_JOB
133
151
- name : upload artifacts to S3
134
152
run : src/ci/scripts/upload-artifacts.sh
153
+ shell : bash
135
154
env :
136
155
AWS_ACCESS_KEY_ID : " ${{ env.ARTIFACTS_AWS_ACCESS_KEY_ID }}"
137
156
AWS_SECRET_ACCESS_KEY : " ${{ secrets[format('AWS_SECRET_ACCESS_KEY_{0}', env.ARTIFACTS_AWS_ACCESS_KEY_ID)] }}"
@@ -176,72 +195,91 @@ jobs:
176
195
if : " success() && !env.SKIP_JOB && github.ref != 'refs/heads/try'"
177
196
- name : add extra environment variables
178
197
run : src/ci/scripts/setup-environment.sh
198
+ shell : bash
179
199
env :
180
200
EXTRA_VARIABLES : " ${{ toJson(matrix.env) }}"
181
201
if : success() && !env.SKIP_JOB
182
202
- name : decide whether to skip this job
183
203
run : src/ci/scripts/should-skip-this.sh
204
+ shell : bash
184
205
if : success() && !env.SKIP_JOB
185
206
- name : collect CPU statistics
186
207
run : src/ci/scripts/collect-cpu-stats.sh
208
+ shell : bash
187
209
if : success() && !env.SKIP_JOB
188
210
- name : show the current environment
189
211
run : src/ci/scripts/dump-environment.sh
212
+ shell : bash
190
213
if : success() && !env.SKIP_JOB
191
214
- name : install awscli
192
215
run : src/ci/scripts/install-awscli.sh
216
+ shell : bash
193
217
if : success() && !env.SKIP_JOB
194
218
- name : install sccache
195
219
run : src/ci/scripts/install-sccache.sh
220
+ shell : bash
196
221
if : success() && !env.SKIP_JOB
197
222
- name : install clang
198
223
run : src/ci/scripts/install-clang.sh
224
+ shell : bash
199
225
if : success() && !env.SKIP_JOB
200
226
- name : install WIX
201
227
run : src/ci/scripts/install-wix.sh
228
+ shell : bash
202
229
if : success() && !env.SKIP_JOB
203
230
- name : install InnoSetup
204
231
run : src/ci/scripts/install-innosetup.sh
205
232
if : success() && !env.SKIP_JOB
206
233
- name : ensure the build happens on a partition with enough space
207
234
run : src/ci/scripts/symlink-build-dir.sh
235
+ shell : bash
208
236
if : success() && !env.SKIP_JOB
209
237
- name : disable git crlf conversion
210
238
run : src/ci/scripts/disable-git-crlf-conversion.sh
239
+ shell : bash
211
240
if : success() && !env.SKIP_JOB
212
241
- name : install MSYS2
213
242
run : src/ci/scripts/install-msys2.sh
243
+ shell : bash
214
244
if : success() && !env.SKIP_JOB
215
245
- name : install MSYS2 packages
216
246
run : src/ci/scripts/install-msys2-packages.sh
217
247
if : success() && !env.SKIP_JOB
218
248
- name : install MinGW
219
249
run : src/ci/scripts/install-mingw.sh
250
+ shell : bash
220
251
if : success() && !env.SKIP_JOB
221
252
- name : install ninja
222
253
run : src/ci/scripts/install-ninja.sh
254
+ shell : bash
223
255
if : success() && !env.SKIP_JOB
224
256
- name : enable ipv6 on Docker
225
257
run : src/ci/scripts/enable-docker-ipv6.sh
258
+ shell : bash
226
259
if : success() && !env.SKIP_JOB
227
260
- name : disable git crlf conversion
228
261
run : src/ci/scripts/disable-git-crlf-conversion.sh
262
+ shell : bash
229
263
if : success() && !env.SKIP_JOB
230
264
- name : checkout submodules
231
265
run : src/ci/scripts/checkout-submodules.sh
266
+ shell : bash
232
267
if : success() && !env.SKIP_JOB
233
268
- name : ensure line endings are correct
234
269
run : src/ci/scripts/verify-line-endings.sh
270
+ shell : bash
235
271
if : success() && !env.SKIP_JOB
236
272
- name : run the build
237
273
run : src/ci/scripts/run-build-from-ci.sh
274
+ shell : bash
238
275
env :
239
276
AWS_ACCESS_KEY_ID : " ${{ env.CACHES_AWS_ACCESS_KEY_ID }}"
240
277
AWS_SECRET_ACCESS_KEY : " ${{ secrets[format('AWS_SECRET_ACCESS_KEY_{0}', env.CACHES_AWS_ACCESS_KEY_ID)] }}"
241
278
TOOLSTATE_REPO_ACCESS_TOKEN : " ${{ secrets.TOOLSTATE_REPO_ACCESS_TOKEN }}"
242
279
if : success() && !env.SKIP_JOB
243
280
- name : upload artifacts to S3
244
281
run : src/ci/scripts/upload-artifacts.sh
282
+ shell : bash
245
283
env :
246
284
AWS_ACCESS_KEY_ID : " ${{ env.ARTIFACTS_AWS_ACCESS_KEY_ID }}"
247
285
AWS_SECRET_ACCESS_KEY : " ${{ secrets[format('AWS_SECRET_ACCESS_KEY_{0}', env.ARTIFACTS_AWS_ACCESS_KEY_ID)] }}"
@@ -528,72 +566,91 @@ jobs:
528
566
if : " success() && !env.SKIP_JOB && github.ref != 'refs/heads/try'"
529
567
- name : add extra environment variables
530
568
run : src/ci/scripts/setup-environment.sh
569
+ shell : bash
531
570
env :
532
571
EXTRA_VARIABLES : " ${{ toJson(matrix.env) }}"
533
572
if : success() && !env.SKIP_JOB
534
573
- name : decide whether to skip this job
535
574
run : src/ci/scripts/should-skip-this.sh
575
+ shell : bash
536
576
if : success() && !env.SKIP_JOB
537
577
- name : collect CPU statistics
538
578
run : src/ci/scripts/collect-cpu-stats.sh
579
+ shell : bash
539
580
if : success() && !env.SKIP_JOB
540
581
- name : show the current environment
541
582
run : src/ci/scripts/dump-environment.sh
583
+ shell : bash
542
584
if : success() && !env.SKIP_JOB
543
585
- name : install awscli
544
586
run : src/ci/scripts/install-awscli.sh
587
+ shell : bash
545
588
if : success() && !env.SKIP_JOB
546
589
- name : install sccache
547
590
run : src/ci/scripts/install-sccache.sh
591
+ shell : bash
548
592
if : success() && !env.SKIP_JOB
549
593
- name : install clang
550
594
run : src/ci/scripts/install-clang.sh
595
+ shell : bash
551
596
if : success() && !env.SKIP_JOB
552
597
- name : install WIX
553
598
run : src/ci/scripts/install-wix.sh
599
+ shell : bash
554
600
if : success() && !env.SKIP_JOB
555
601
- name : install InnoSetup
556
602
run : src/ci/scripts/install-innosetup.sh
557
603
if : success() && !env.SKIP_JOB
558
604
- name : ensure the build happens on a partition with enough space
559
605
run : src/ci/scripts/symlink-build-dir.sh
606
+ shell : bash
560
607
if : success() && !env.SKIP_JOB
561
608
- name : disable git crlf conversion
562
609
run : src/ci/scripts/disable-git-crlf-conversion.sh
610
+ shell : bash
563
611
if : success() && !env.SKIP_JOB
564
612
- name : install MSYS2
565
613
run : src/ci/scripts/install-msys2.sh
614
+ shell : bash
566
615
if : success() && !env.SKIP_JOB
567
616
- name : install MSYS2 packages
568
617
run : src/ci/scripts/install-msys2-packages.sh
569
618
if : success() && !env.SKIP_JOB
570
619
- name : install MinGW
571
620
run : src/ci/scripts/install-mingw.sh
621
+ shell : bash
572
622
if : success() && !env.SKIP_JOB
573
623
- name : install ninja
574
624
run : src/ci/scripts/install-ninja.sh
625
+ shell : bash
575
626
if : success() && !env.SKIP_JOB
576
627
- name : enable ipv6 on Docker
577
628
run : src/ci/scripts/enable-docker-ipv6.sh
629
+ shell : bash
578
630
if : success() && !env.SKIP_JOB
579
631
- name : disable git crlf conversion
580
632
run : src/ci/scripts/disable-git-crlf-conversion.sh
633
+ shell : bash
581
634
if : success() && !env.SKIP_JOB
582
635
- name : checkout submodules
583
636
run : src/ci/scripts/checkout-submodules.sh
637
+ shell : bash
584
638
if : success() && !env.SKIP_JOB
585
639
- name : ensure line endings are correct
586
640
run : src/ci/scripts/verify-line-endings.sh
641
+ shell : bash
587
642
if : success() && !env.SKIP_JOB
588
643
- name : run the build
589
644
run : src/ci/scripts/run-build-from-ci.sh
645
+ shell : bash
590
646
env :
591
647
AWS_ACCESS_KEY_ID : " ${{ env.CACHES_AWS_ACCESS_KEY_ID }}"
592
648
AWS_SECRET_ACCESS_KEY : " ${{ secrets[format('AWS_SECRET_ACCESS_KEY_{0}', env.CACHES_AWS_ACCESS_KEY_ID)] }}"
593
649
TOOLSTATE_REPO_ACCESS_TOKEN : " ${{ secrets.TOOLSTATE_REPO_ACCESS_TOKEN }}"
594
650
if : success() && !env.SKIP_JOB
595
651
- name : upload artifacts to S3
596
652
run : src/ci/scripts/upload-artifacts.sh
653
+ shell : bash
597
654
env :
598
655
AWS_ACCESS_KEY_ID : " ${{ env.ARTIFACTS_AWS_ACCESS_KEY_ID }}"
599
656
AWS_SECRET_ACCESS_KEY : " ${{ secrets[format('AWS_SECRET_ACCESS_KEY_{0}', env.ARTIFACTS_AWS_ACCESS_KEY_ID)] }}"
@@ -618,6 +675,7 @@ jobs:
618
675
fetch-depth : 2
619
676
- name : publish toolstate
620
677
run : src/ci/publish_toolstate.sh
678
+ shell : bash
621
679
env :
622
680
TOOLSTATE_REPO_ACCESS_TOKEN : " ${{ secrets.TOOLSTATE_REPO_ACCESS_TOKEN }}"
623
681
if : success() && !env.SKIP_JOB
0 commit comments