18
18
- ' *'
19
19
branches-ignore :
20
20
- ' gh-readonly-queue/**'
21
+ - ' release-**'
22
+ - ' lts-**'
21
23
pull_request :
22
24
merge_group :
23
25
schedule :
@@ -70,13 +72,13 @@ jobs:
70
72
run : git -c "http.https://github.com/.extraheader=" fetch --recurse-submodules=no "https://github.com/lampepfl/dotty" && git reset --hard FETCH_HEAD || true
71
73
72
74
- name : Checkout cleanup script
73
- uses : actions/checkout@v3
75
+ uses : actions/checkout@v4
74
76
75
77
- name : Cleanup
76
78
run : .github/workflows/cleanup.sh
77
79
78
80
- name : Git Checkout
79
- uses : actions/checkout@v3
81
+ uses : actions/checkout@v4
80
82
81
83
- name : Add SBT proxy repositories
82
84
run : cp -vf .github/workflows/repositories /root/.sbt/ ; true
@@ -121,13 +123,13 @@ jobs:
121
123
run : git -c "http.https://github.com/.extraheader=" fetch --recurse-submodules=no "https://github.com/lampepfl/dotty" && git reset --hard FETCH_HEAD || true
122
124
123
125
- name : Checkout cleanup script
124
- uses : actions/checkout@v3
126
+ uses : actions/checkout@v4
125
127
126
128
- name : Cleanup
127
129
run : .github/workflows/cleanup.sh
128
130
129
131
- name : Git Checkout
130
- uses : actions/checkout@v3
132
+ uses : actions/checkout@v4
131
133
132
134
- name : Add SBT proxy repositories
133
135
run : cp -vf .github/workflows/repositories /root/.sbt/ ; true
@@ -142,6 +144,51 @@ jobs:
142
144
run : |
143
145
./project/scripts/sbt ";sjsSandbox/run ;sjsSandbox/test ;sjsJUnitTests/test ;set sjsJUnitTests/scalaJSLinkerConfig ~= switchToESModules ;sjsJUnitTests/test ;sjsCompilerTests/test"
144
146
147
+ - name : Test with Scala 2 library TASTy (fast)
148
+ run : ./project/scripts/sbt ";set ThisBuild/Build.useScala2LibraryTasty := true ;scala3-bootstrapped/testCompilation i5; scala3-bootstrapped/testCompilation tests/run/typelevel-peano.scala; scala3-bootstrapped/testOnly dotty.tools.backend.jvm.DottyBytecodeTests" # only test a subset of test to avoid doubling the CI execution time
149
+
150
+ test_scala2_library_tasty :
151
+ runs-on : [self-hosted, Linux]
152
+ container :
153
+ image : lampepfl/dotty:2021-03-22
154
+ options : --cpu-shares 4096
155
+ volumes :
156
+ - ${{ github.workspace }}/../../cache/sbt:/root/.sbt
157
+ - ${{ github.workspace }}/../../cache/ivy:/root/.ivy2/cache
158
+ - ${{ github.workspace }}/../../cache/general:/root/.cache
159
+ if : " github.event_name == 'schedule' && github.repository == 'lampepfl/dotty'
160
+ || (
161
+ github.event_name == 'pull_request'
162
+ && contains(github.event.pull_request.body, '[test_scala2_library_tasty]')
163
+ )
164
+ || (
165
+ github.event_name == 'workflow_dispatch'
166
+ && github.repository == 'lampepfl/dotty'
167
+ )"
168
+
169
+ steps :
170
+ - name : Set JDK 16 as default
171
+ run : echo "/usr/lib/jvm/java-16-openjdk-amd64/bin" >> $GITHUB_PATH
172
+
173
+ - name : Reset existing repo
174
+ run : git -c "http.https://github.com/.extraheader=" fetch --recurse-submodules=no "https://github.com/lampepfl/dotty" && git reset --hard FETCH_HEAD || true
175
+
176
+ - name : Checkout cleanup script
177
+ uses : actions/checkout@v3
178
+
179
+ - name : Cleanup
180
+ run : .github/workflows/cleanup.sh
181
+
182
+ - name : Git Checkout
183
+ uses : actions/checkout@v3
184
+
185
+ - name : Add SBT proxy repositories
186
+ run : cp -vf .github/workflows/repositories /root/.sbt/ ; true
187
+
188
+ - name : Test with Scala 2 library TASTy
189
+ run : ./project/scripts/sbt ";set ThisBuild/Build.useScala2LibraryTasty := true ;scala3-bootstrapped/testCompilation"
190
+
191
+
145
192
test_windows_fast :
146
193
runs-on : [self-hosted, Windows]
147
194
if : " (
@@ -161,7 +208,7 @@ jobs:
161
208
shell : cmd
162
209
163
210
- name : Git Checkout
164
- uses : actions/checkout@v3
211
+ uses : actions/checkout@v4
165
212
166
213
- name : Test
167
214
run : sbt ";scala3-bootstrapped/compile"
@@ -203,16 +250,12 @@ jobs:
203
250
shell : cmd
204
251
205
252
- name : Git Checkout
206
- uses : actions/checkout@v3
253
+ uses : actions/checkout@v4
207
254
208
255
- name : Test
209
256
run : sbt ";dist/pack ;scala3-bootstrapped/compile ;scala3-bootstrapped/test"
210
257
shell : cmd
211
258
212
- - name : Test with Scala 2 library TASTy
213
- run : sbt ";set ThisBuild/Build.useScala2LibraryTasty := true ;scala3-bootstrapped/testCompilation i5" # only test a subset of test to avoid doubling the CI execution time
214
- shell : cmd
215
-
216
259
- name : Scala.js Test
217
260
run : sbt ";sjsJUnitTests/test ;set sjsJUnitTests/scalaJSLinkerConfig ~= switchToESModules ;sjsJUnitTests/test ;sjsCompilerTests/test"
218
261
shell : cmd
@@ -244,13 +287,13 @@ jobs:
244
287
run : git -c "http.https://github.com/.extraheader=" fetch --recurse-submodules=no "https://github.com/lampepfl/dotty" && git reset --hard FETCH_HEAD || true
245
288
246
289
- name : Checkout cleanup script
247
- uses : actions/checkout@v3
290
+ uses : actions/checkout@v4
248
291
249
292
- name : Cleanup
250
293
run : .github/workflows/cleanup.sh
251
294
252
295
- name : Git Checkout
253
- uses : actions/checkout@v3
296
+ uses : actions/checkout@v4
254
297
255
298
- name : Add SBT proxy repositories
256
299
run : cp -vf .github/workflows/repositories /root/.sbt/ ; true
@@ -292,13 +335,13 @@ jobs:
292
335
run : git -c "http.https://github.com/.extraheader=" fetch --recurse-submodules=no "https://github.com/lampepfl/dotty" && git reset --hard FETCH_HEAD || true
293
336
294
337
- name : Checkout cleanup script
295
- uses : actions/checkout@v3
338
+ uses : actions/checkout@v4
296
339
297
340
- name : Cleanup
298
341
run : .github/workflows/cleanup.sh
299
342
300
343
- name : Git Checkout
301
- uses : actions/checkout@v3
344
+ uses : actions/checkout@v4
302
345
303
346
- name : Add SBT proxy repositories
304
347
run : cp -vf .github/workflows/repositories /root/.sbt/ ; true
@@ -341,13 +384,13 @@ jobs:
341
384
run : git -c "http.https://github.com/.extraheader=" fetch --recurse-submodules=no "https://github.com/lampepfl/dotty" && git reset --hard FETCH_HEAD || true
342
385
343
386
- name : Checkout cleanup script
344
- uses : actions/checkout@v3
387
+ uses : actions/checkout@v4
345
388
346
389
- name : Cleanup
347
390
run : .github/workflows/cleanup.sh
348
391
349
392
- name : Git Checkout
350
- uses : actions/checkout@v3
393
+ uses : actions/checkout@v4
351
394
352
395
- name : Add SBT proxy repositories
353
396
run : cp -vf .github/workflows/repositories /root/.sbt/ ; true
@@ -390,13 +433,13 @@ jobs:
390
433
run : git -c "http.https://github.com/.extraheader=" fetch --recurse-submodules=no "https://github.com/lampepfl/dotty" && git reset --hard FETCH_HEAD || true
391
434
392
435
- name : Checkout cleanup script
393
- uses : actions/checkout@v3
436
+ uses : actions/checkout@v4
394
437
395
438
- name : Cleanup
396
439
run : .github/workflows/cleanup.sh
397
440
398
441
- name : Git Checkout
399
- uses : actions/checkout@v3
442
+ uses : actions/checkout@v4
400
443
401
444
- name : Add SBT proxy repositories
402
445
run : cp -vf .github/workflows/repositories /root/.sbt/ ; true
@@ -437,13 +480,13 @@ jobs:
437
480
run : git -c "http.https://github.com/.extraheader=" fetch --recurse-submodules=no "https://github.com/lampepfl/dotty" && git reset --hard FETCH_HEAD || true
438
481
439
482
- name : Checkout cleanup script
440
- uses : actions/checkout@v3
483
+ uses : actions/checkout@v4
441
484
442
485
- name : Cleanup
443
486
run : .github/workflows/cleanup.sh
444
487
445
488
- name : Git Checkout
446
- uses : actions/checkout@v3
489
+ uses : actions/checkout@v4
447
490
448
491
- name : Add SBT proxy repositories
449
492
run : cp -vf .github/workflows/repositories /root/.sbt/ ; true
@@ -484,13 +527,13 @@ jobs:
484
527
run : git -c "http.https://github.com/.extraheader=" fetch --recurse-submodules=no "https://github.com/lampepfl/dotty" && git reset --hard FETCH_HEAD || true
485
528
486
529
- name : Checkout cleanup script
487
- uses : actions/checkout@v3
530
+ uses : actions/checkout@v4
488
531
489
532
- name : Cleanup
490
533
run : .github/workflows/cleanup.sh
491
534
492
535
- name : Git Checkout
493
- uses : actions/checkout@v3
536
+ uses : actions/checkout@v4
494
537
495
538
- name : Add SBT proxy repositories
496
539
run : cp -vf .github/workflows/repositories /root/.sbt/ ; true
@@ -528,13 +571,13 @@ jobs:
528
571
run : git -c "http.https://github.com/.extraheader=" fetch --recurse-submodules=no "https://github.com/lampepfl/dotty" && git reset --hard FETCH_HEAD || true
529
572
530
573
- name : Checkout cleanup script
531
- uses : actions/checkout@v3
574
+ uses : actions/checkout@v4
532
575
533
576
- name : Cleanup
534
577
run : .github/workflows/cleanup.sh
535
578
536
579
- name : Git Checkout
537
- uses : actions/checkout@v3
580
+ uses : actions/checkout@v4
538
581
539
582
- name : Add SBT proxy repositories
540
583
run : cp -vf .github/workflows/repositories /root/.sbt/ ; true
@@ -582,13 +625,13 @@ jobs:
582
625
run : git -c "http.https://github.com/.extraheader=" fetch --recurse-submodules=no "https://github.com/lampepfl/dotty" && git reset --hard FETCH_HEAD || true
583
626
584
627
- name : Checkout cleanup script
585
- uses : actions/checkout@v3
628
+ uses : actions/checkout@v4
586
629
587
630
- name : Cleanup
588
631
run : .github/workflows/cleanup.sh
589
632
590
633
- name : Git Checkout
591
- uses : actions/checkout@v3
634
+ uses : actions/checkout@v4
592
635
593
636
- name : Add SBT proxy repositories
594
637
run : cp -vf .github/workflows/repositories /root/.sbt/ ; true
@@ -632,13 +675,13 @@ jobs:
632
675
run : git -c "http.https://github.com/.extraheader=" fetch --recurse-submodules=no "https://github.com/lampepfl/dotty" && git reset --hard FETCH_HEAD || true
633
676
634
677
- name : Checkout cleanup script
635
- uses : actions/checkout@v3
678
+ uses : actions/checkout@v4
636
679
637
680
- name : Cleanup
638
681
run : .github/workflows/cleanup.sh
639
682
640
683
- name : Git Checkout
641
- uses : actions/checkout@v3
684
+ uses : actions/checkout@v4
642
685
643
686
- name : Add SBT proxy repositories
644
687
run : cp -vf .github/workflows/repositories /root/.sbt/ ; true
@@ -705,7 +748,7 @@ jobs:
705
748
if : " failure() && github.event_name == 'schedule'"
706
749
steps :
707
750
- name : Checkout issue template
708
- uses : actions/checkout@v3
751
+ uses : actions/checkout@v4
709
752
710
753
- name : Open an issue
711
754
uses : JasonEtco/create-an-issue@v2
0 commit comments