@@ -406,6 +406,138 @@ jobs:
406
406
./project/scripts/sbt ";scala3-bootstrapped/compile ;scala3-bootstrapped/test;sjsSandbox/run;sjsSandbox/test;sjsJUnitTests/test;sjsCompilerTests/test ;sbt-test/scripted scala2-compat/* ;configureIDE ;stdlib-bootstrapped/test:run ;stdlib-bootstrapped-tasty-tests/test"
407
407
./project/scripts/bootstrapCmdTests
408
408
409
+ test_java11 :
410
+ runs-on : [self-hosted, Linux]
411
+ container :
412
+ image : lampepfl/dotty:2021-03-22
413
+ options : --cpu-shares 4096
414
+ volumes :
415
+ - ${{ github.workspace }}/../../cache/sbt:/root/.sbt
416
+ - ${{ github.workspace }}/../../cache/ivy:/root/.ivy2/cache
417
+ - ${{ github.workspace }}/../../cache/general:/root/.cache
418
+
419
+ if : " (
420
+ github.event_name == 'pull_request'
421
+ && !contains(github.event.pull_request.body, '[skip ci]')
422
+ && contains(github.event.pull_request.body, '[test_java11]')
423
+ )"
424
+
425
+ steps :
426
+ - name : Install JDK 11
427
+ run : |
428
+ rm -f /etc/apt/sources.list.d/nodesource.list
429
+ apt-get update && apt-get install -y openjdk-11-jdk-headless
430
+
431
+ - name : Set JDK 11 as default
432
+ run : echo "/usr/lib/jvm/java-11-openjdk-amd64/bin" >> $GITHUB_PATH
433
+
434
+ - name : Reset existing repo
435
+ run : git -c "http.https://github.com/.extraheader=" fetch --recurse-submodules=no "https://github.com/lampepfl/dotty" && git reset --hard FETCH_HEAD || true
436
+
437
+ - name : Checkout cleanup script
438
+ uses : actions/checkout@v2
439
+
440
+ - name : Cleanup
441
+ run : .github/workflows/cleanup.sh
442
+
443
+ - name : Git Checkout
444
+ uses : actions/checkout@v2
445
+
446
+ - name : Add SBT proxy repositories
447
+ run : cp -vf .github/workflows/repositories /root/.sbt/ ; true
448
+
449
+ - name : Test
450
+ run : |
451
+ ./project/scripts/sbt "scala3-bootstrapped/compile; scala3-bootstrapped/testOnly dotty.tools.repl.Disassemb* dotty.tools.repl.Javap* dotty.tools.repl.Asmp*"
452
+
453
+ test_java15 :
454
+ runs-on : [self-hosted, Linux]
455
+ container :
456
+ image : lampepfl/dotty:2021-03-22
457
+ options : --cpu-shares 4096
458
+ volumes :
459
+ - ${{ github.workspace }}/../../cache/sbt:/root/.sbt
460
+ - ${{ github.workspace }}/../../cache/ivy:/root/.ivy2/cache
461
+ - ${{ github.workspace }}/../../cache/general:/root/.cache
462
+
463
+ if : " (
464
+ github.event_name == 'pull_request'
465
+ && !contains(github.event.pull_request.body, '[skip ci]')
466
+ && contains(github.event.pull_request.body, '[test_java15]')
467
+ )"
468
+
469
+ steps :
470
+ - name : Install JDK 15
471
+ run : |
472
+ rm -f /etc/apt/sources.list.d/nodesource.list
473
+ apt-get update && apt-get install -y openjdk-15-jdk-headless
474
+
475
+ - name : Set JDK 15 as default
476
+ run : echo "/usr/lib/jvm/java-15-openjdk-amd64/bin" >> $GITHUB_PATH
477
+
478
+ - name : Reset existing repo
479
+ run : git -c "http.https://github.com/.extraheader=" fetch --recurse-submodules=no "https://github.com/lampepfl/dotty" && git reset --hard FETCH_HEAD || true
480
+
481
+ - name : Checkout cleanup script
482
+ uses : actions/checkout@v2
483
+
484
+ - name : Cleanup
485
+ run : .github/workflows/cleanup.sh
486
+
487
+ - name : Git Checkout
488
+ uses : actions/checkout@v2
489
+
490
+ - name : Add SBT proxy repositories
491
+ run : cp -vf .github/workflows/repositories /root/.sbt/ ; true
492
+
493
+ - name : Test
494
+ run : |
495
+ ./project/scripts/sbt "scala3-bootstrapped/compile; scala3-bootstrapped/testOnly dotty.tools.repl.Disassemb* dotty.tools.repl.Javap* dotty.tools.repl.Asmp*"
496
+
497
+ test_java17 :
498
+ runs-on : [self-hosted, Linux]
499
+ container :
500
+ image : lampepfl/dotty:2021-03-22
501
+ options : --cpu-shares 4096
502
+ volumes :
503
+ - ${{ github.workspace }}/../../cache/sbt:/root/.sbt
504
+ - ${{ github.workspace }}/../../cache/ivy:/root/.ivy2/cache
505
+ - ${{ github.workspace }}/../../cache/general:/root/.cache
506
+
507
+ if : " (
508
+ github.event_name == 'pull_request'
509
+ && !contains(github.event.pull_request.body, '[skip ci]')
510
+ && contains(github.event.pull_request.body, '[test_java17]')
511
+ )"
512
+
513
+ steps :
514
+ - name : Install JDK 17
515
+ run : |
516
+ rm -f /etc/apt/sources.list.d/nodesource.list
517
+ apt-get update && apt-get install -y openjdk-17-jdk-headless
518
+
519
+ - name : Set JDK 17 as default
520
+ run : echo "/usr/lib/jvm/java-17-openjdk-amd64/bin" >> $GITHUB_PATH
521
+
522
+ - name : Reset existing repo
523
+ run : git -c "http.https://github.com/.extraheader=" fetch --recurse-submodules=no "https://github.com/lampepfl/dotty" && git reset --hard FETCH_HEAD || true
524
+
525
+ - name : Checkout cleanup script
526
+ uses : actions/checkout@v2
527
+
528
+ - name : Cleanup
529
+ run : .github/workflows/cleanup.sh
530
+
531
+ - name : Git Checkout
532
+ uses : actions/checkout@v2
533
+
534
+ - name : Add SBT proxy repositories
535
+ run : cp -vf .github/workflows/repositories /root/.sbt/ ; true
536
+
537
+ - name : Test
538
+ run : |
539
+ ./project/scripts/sbt "scala3-bootstrapped/compile; scala3-bootstrapped/testOnly dotty.tools.repl.Disassemb* dotty.tools.repl.Javap* dotty.tools.repl.Asmp*"
540
+
409
541
publish_nightly :
410
542
runs-on : [self-hosted, Linux]
411
543
container :
0 commit comments