@@ -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)] }}"
@@ -510,7 +470,6 @@ jobs:
510
470
steps:
511
471
- name: disable git crlf conversion
512
472
run: git config --global core.autocrlf false
513
- shell: bash
514
473
- name: checkout the source code
515
474
uses: actions/checkout@v1
516
475
with:
@@ -522,85 +481,66 @@ jobs:
522
481
if: "success() && !env.SKIP_JOB && github.ref != 'refs/heads/try'"
523
482
- name: add extra environment variables
524
483
run: src/ci/scripts/setup-environment.sh
525
- shell: bash
526
484
env:
527
485
EXTRA_VARIABLES: "${{ toJson(matrix.env) }}"
528
486
if: success() && !env.SKIP_JOB
529
487
- name: decide whether to skip this job
530
488
run: src/ci/scripts/should-skip-this.sh
531
- shell: bash
532
489
if: success() && !env.SKIP_JOB
533
490
- name: collect CPU statistics
534
491
run: src/ci/scripts/collect-cpu-stats.sh
535
- shell: bash
536
492
if: success() && !env.SKIP_JOB
537
493
- name: show the current environment
538
494
run: src/ci/scripts/dump-environment.sh
539
- shell: bash
540
495
if: success() && !env.SKIP_JOB
541
496
- name: install awscli
542
497
run: src/ci/scripts/install-awscli.sh
543
- shell: bash
544
498
if: success() && !env.SKIP_JOB
545
499
- name: install sccache
546
500
run: src/ci/scripts/install-sccache.sh
547
- shell: bash
548
501
if: success() && !env.SKIP_JOB
549
502
- name: install clang
550
503
run: src/ci/scripts/install-clang.sh
551
- shell: bash
552
504
if: success() && !env.SKIP_JOB
553
505
- name: install WIX
554
506
run: src/ci/scripts/install-wix.sh
555
- shell: bash
556
507
if: success() && !env.SKIP_JOB
557
508
- name: ensure the build happens on a partition with enough space
558
509
run: src/ci/scripts/symlink-build-dir.sh
559
- shell: bash
560
510
if: success() && !env.SKIP_JOB
561
511
- name: disable git crlf conversion
562
512
run: src/ci/scripts/disable-git-crlf-conversion.sh
563
- shell: bash
564
513
if: success() && !env.SKIP_JOB
565
514
- name: install MSYS2
566
515
run: src/ci/scripts/install-msys2.sh
567
- shell: bash
568
516
if: success() && !env.SKIP_JOB
569
517
- name: install MinGW
570
518
run: src/ci/scripts/install-mingw.sh
571
- shell: bash
572
519
if: success() && !env.SKIP_JOB
573
520
- name: install ninja
574
521
run: src/ci/scripts/install-ninja.sh
575
- shell: bash
576
522
if: success() && !env.SKIP_JOB
577
523
- name: enable ipv6 on Docker
578
524
run: src/ci/scripts/enable-docker-ipv6.sh
579
- shell: bash
580
525
if: success() && !env.SKIP_JOB
581
526
- name: disable git crlf conversion
582
527
run: src/ci/scripts/disable-git-crlf-conversion.sh
583
- shell: bash
584
528
if: success() && !env.SKIP_JOB
585
529
- name: checkout submodules
586
530
run: src/ci/scripts/checkout-submodules.sh
587
- shell: bash
588
531
if: success() && !env.SKIP_JOB
589
532
- name: ensure line endings are correct
590
533
run: src/ci/scripts/verify-line-endings.sh
591
- shell: bash
592
534
if: success() && !env.SKIP_JOB
593
535
- name: run the build
594
536
run: src/ci/scripts/run-build-from-ci.sh
595
- shell: bash
596
537
env:
597
538
AWS_ACCESS_KEY_ID: "${{ env.CACHES_AWS_ACCESS_KEY_ID }}"
598
539
AWS_SECRET_ACCESS_KEY: "${{ secrets[format('AWS_SECRET_ACCESS_KEY_{0}', env.CACHES_AWS_ACCESS_KEY_ID)] }}"
599
540
TOOLSTATE_REPO_ACCESS_TOKEN: "${{ secrets.TOOLSTATE_REPO_ACCESS_TOKEN }}"
600
541
if: success() && !env.SKIP_JOB
601
542
- name: upload artifacts to S3
602
543
run: src/ci/scripts/upload-artifacts.sh
603
- shell: bash
604
544
env:
605
545
AWS_ACCESS_KEY_ID: "${{ env.ARTIFACTS_AWS_ACCESS_KEY_ID }}"
606
546
AWS_SECRET_ACCESS_KEY: "${{ secrets[format('AWS_SECRET_ACCESS_KEY_{0}', env.ARTIFACTS_AWS_ACCESS_KEY_ID)] }}"
@@ -655,7 +595,6 @@ jobs:
655
595
steps:
656
596
- name: disable git crlf conversion
657
597
run: git config --global core.autocrlf false
658
- shell: bash
659
598
- name: checkout the source code
660
599
uses: actions/checkout@v1
661
600
with:
@@ -667,85 +606,66 @@ jobs:
667
606
if: "success() && !env.SKIP_JOB && github.ref != 'refs/heads/try'"
668
607
- name: add extra environment variables
669
608
run: src/ci/scripts/setup-environment.sh
670
- shell: bash
671
609
env:
672
610
EXTRA_VARIABLES: "${{ toJson(matrix.env) }}"
673
611
if: success() && !env.SKIP_JOB
674
612
- name: decide whether to skip this job
675
613
run: src/ci/scripts/should-skip-this.sh
676
- shell: bash
677
614
if: success() && !env.SKIP_JOB
678
615
- name: collect CPU statistics
679
616
run: src/ci/scripts/collect-cpu-stats.sh
680
- shell: bash
681
617
if: success() && !env.SKIP_JOB
682
618
- name: show the current environment
683
619
run: src/ci/scripts/dump-environment.sh
684
- shell: bash
685
620
if: success() && !env.SKIP_JOB
686
621
- name: install awscli
687
622
run: src/ci/scripts/install-awscli.sh
688
- shell: bash
689
623
if: success() && !env.SKIP_JOB
690
624
- name: install sccache
691
625
run: src/ci/scripts/install-sccache.sh
692
- shell: bash
693
626
if: success() && !env.SKIP_JOB
694
627
- name: install clang
695
628
run: src/ci/scripts/install-clang.sh
696
- shell: bash
697
629
if: success() && !env.SKIP_JOB
698
630
- name: install WIX
699
631
run: src/ci/scripts/install-wix.sh
700
- shell: bash
701
632
if: success() && !env.SKIP_JOB
702
633
- name: ensure the build happens on a partition with enough space
703
634
run: src/ci/scripts/symlink-build-dir.sh
704
- shell: bash
705
635
if: success() && !env.SKIP_JOB
706
636
- name: disable git crlf conversion
707
637
run: src/ci/scripts/disable-git-crlf-conversion.sh
708
- shell: bash
709
638
if: success() && !env.SKIP_JOB
710
639
- name: install MSYS2
711
640
run: src/ci/scripts/install-msys2.sh
712
- shell: bash
713
641
if: success() && !env.SKIP_JOB
714
642
- name: install MinGW
715
643
run: src/ci/scripts/install-mingw.sh
716
- shell: bash
717
644
if: success() && !env.SKIP_JOB
718
645
- name: install ninja
719
646
run: src/ci/scripts/install-ninja.sh
720
- shell: bash
721
647
if: success() && !env.SKIP_JOB
722
648
- name: enable ipv6 on Docker
723
649
run: src/ci/scripts/enable-docker-ipv6.sh
724
- shell: bash
725
650
if: success() && !env.SKIP_JOB
726
651
- name: disable git crlf conversion
727
652
run: src/ci/scripts/disable-git-crlf-conversion.sh
728
- shell: bash
729
653
if: success() && !env.SKIP_JOB
730
654
- name: checkout submodules
731
655
run: src/ci/scripts/checkout-submodules.sh
732
- shell: bash
733
656
if: success() && !env.SKIP_JOB
734
657
- name: ensure line endings are correct
735
658
run: src/ci/scripts/verify-line-endings.sh
736
- shell: bash
737
659
if: success() && !env.SKIP_JOB
738
660
- name: run the build
739
661
run: src/ci/scripts/run-build-from-ci.sh
740
- shell: bash
741
662
env:
742
663
AWS_ACCESS_KEY_ID: "${{ env.CACHES_AWS_ACCESS_KEY_ID }}"
743
664
AWS_SECRET_ACCESS_KEY: "${{ secrets[format('AWS_SECRET_ACCESS_KEY_{0}', env.CACHES_AWS_ACCESS_KEY_ID)] }}"
744
665
TOOLSTATE_REPO_ACCESS_TOKEN: "${{ secrets.TOOLSTATE_REPO_ACCESS_TOKEN }}"
745
666
if: success() && !env.SKIP_JOB
746
667
- name: upload artifacts to S3
747
668
run: src/ci/scripts/upload-artifacts.sh
748
- shell: bash
749
669
env:
750
670
AWS_ACCESS_KEY_ID: "${{ env.ARTIFACTS_AWS_ACCESS_KEY_ID }}"
751
671
AWS_SECRET_ACCESS_KEY: "${{ secrets[format('AWS_SECRET_ACCESS_KEY_{0}', env.ARTIFACTS_AWS_ACCESS_KEY_ID)] }}"
0 commit comments