35
35
- ${{ github.workspace }}/../../cache/ivy:/root/.ivy2/cache
36
36
- ${{ github.workspace }}/../../cache/general:/root/.cache
37
37
if : " github.event_name == 'schedule' && github.repository == 'lampepfl/dotty'
38
- || (
39
- github.event_name == 'push'
40
- && !startsWith(github.event.ref, 'refs/tags/sbt-dotty-')
41
- )
38
+ || github.event_name == 'push'
42
39
|| (
43
40
github.event_name == 'pull_request'
44
41
&& !contains(github.event.pull_request.body, '[skip ci]')
82
79
- ${{ github.workspace }}/../../cache/ivy:/root/.ivy2/cache
83
80
- ${{ github.workspace }}/../../cache/general:/root/.cache
84
81
if : " github.event_name == 'schedule' && github.repository == 'lampepfl/dotty'
85
- || (
86
- github.event_name == 'push'
87
- && !startsWith(github.event.ref, 'refs/tags/sbt-dotty-')
88
- )
82
+ || github.event_name == 'push'
89
83
|| (
90
84
github.event_name == 'pull_request'
91
85
&& !contains(github.event.pull_request.body, '[skip ci]')
@@ -117,15 +111,14 @@ jobs:
117
111
118
112
- name : Cmd Tests
119
113
run : |
120
- ./project/scripts/sbt ";scala3-bootstrapped/compile ;scala3-bootstrapped/test;sjsSandbox/run;sjsSandbox/test;sjsJUnitTests/test;sjsCompilerTests/test ;sbt-dotty /scripted scala2-compat/* ;configureIDE ;stdlib-bootstrapped/test:run ;stdlib-bootstrapped-tasty-tests/test"
114
+ ./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"
121
115
./project/scripts/bootstrapCmdTests
122
116
123
117
test_windows_fast :
124
118
runs-on : [self-hosted, Windows]
125
119
if : " (
126
120
github.event_name == 'push'
127
121
&& github.ref != 'refs/heads/master'
128
- && !startsWith(github.event.ref, 'refs/tags/sbt-dotty-')
129
122
)
130
123
|| (
131
124
github.event_name == 'pull_request'
@@ -168,10 +161,7 @@ jobs:
168
161
test_windows_full :
169
162
runs-on : [self-hosted, Windows]
170
163
if : " github.event_name == 'schedule' && github.repository == 'lampepfl/dotty'
171
- || (
172
- github.event_name == 'push'
173
- && !startsWith(github.event.ref, 'refs/tags/sbt-dotty-')
174
- )
164
+ || github.event_name == 'push'
175
165
|| (
176
166
github.event_name == 'pull_request'
177
167
&& !contains(github.event.pull_request.body, '[skip ci]')
@@ -361,7 +351,7 @@ jobs:
361
351
run : cp -vf .github/workflows/repositories /root/.sbt/ ; true
362
352
363
353
- name : Test sbt
364
- run : ./project/scripts/sbt "sbt-dotty /scripted; sbt-community-build/scripted"
354
+ run : ./project/scripts/sbt "sbt-test /scripted; sbt-community-build/scripted"
365
355
366
356
test_java8 :
367
357
runs-on : [self-hosted, Linux]
@@ -377,7 +367,6 @@ jobs:
377
367
|| (
378
368
github.event_name == 'push'
379
369
&& startsWith(github.event.ref, 'refs/tags/')
380
- && !startsWith(github.event.ref, 'refs/tags/sbt-dotty-')
381
370
)
382
371
|| (
383
372
github.event_name == 'pull_request'
@@ -410,7 +399,7 @@ jobs:
410
399
411
400
- name : Test
412
401
run : |
413
- ./project/scripts/sbt ";scala3-bootstrapped/compile ;scala3-bootstrapped/test;sjsSandbox/run;sjsSandbox/test;sjsJUnitTests/test;sjsCompilerTests/test ;sbt-dotty /scripted scala2-compat/* ;configureIDE ;stdlib-bootstrapped/test:run ;stdlib-bootstrapped-tasty-tests/test"
402
+ ./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"
414
403
./project/scripts/bootstrapCmdTests
415
404
416
405
publish_nightly :
@@ -520,8 +509,7 @@ jobs:
520
509
- ${{ github.workspace }}/../../cache/general:/root/.cache
521
510
needs : [test_non_bootstrapped, test, community_build_a, community_build_b, community_build_c, test_sbt, test_java8]
522
511
if : " github.event_name == 'push'
523
- && startsWith(github.event.ref, 'refs/tags/')
524
- && !startsWith(github.event.ref, 'refs/tags/sbt-dotty-')"
512
+ && startsWith(github.event.ref, 'refs/tags/')"
525
513
526
514
env :
527
515
RELEASEBUILD : yes
@@ -606,8 +594,7 @@ jobs:
606
594
- ${{ github.workspace }}/../../cache/general:/root/.cache
607
595
needs : [publish_release]
608
596
if : " github.event_name == 'push'
609
- && startsWith(github.event.ref, 'refs/tags/')
610
- && !startsWith(github.event.ref, 'refs/tags/sbt-dotty-')"
597
+ && startsWith(github.event.ref, 'refs/tags/')"
611
598
612
599
env :
613
600
RELEASEBUILD : yes
@@ -643,46 +630,6 @@ jobs:
643
630
external_repository : lampepfl/dotty-website
644
631
publish_branch : gh-pages
645
632
646
- publish_sbt_release :
647
- runs-on : [self-hosted, Linux]
648
- container :
649
- image : lampepfl/dotty:2021-03-22
650
- options : --cpu-shares 4096
651
- volumes :
652
- - ${{ github.workspace }}/../../cache/sbt:/root/.sbt
653
- - ${{ github.workspace }}/../../cache/ivy:/root/.ivy2/cache
654
- - ${{ github.workspace }}/../../cache/general:/root/.cache
655
- needs : [community_build_a, community_build_b, community_build_c, test_sbt]
656
- if : " github.event_name == 'push'
657
- && startsWith(github.event.ref, 'refs/tags/sbt-dotty-')"
658
-
659
- env :
660
- RELEASEBUILD : yes
661
- PGP_PW : ${{ secrets.PGP_PW }} # PGP passphrase
662
- PGP_SECRET : ${{ secrets.PGP_SECRET }} # Export your private and public PGP key to an *.asc file, take the file's contents as a string
663
- SONATYPE_PW : ${{ secrets.SONATYPE_PW }}
664
- SONATYPE_USER : ${{ secrets.SONATYPE_USER }}
665
-
666
- steps :
667
- - name : Reset existing repo
668
- run : git -c "http.https://github.com/.extraheader=" fetch --recurse-submodules=no "https://github.com/lampepfl/dotty" && git reset --hard FETCH_HEAD || true
669
-
670
- - name : Checkout cleanup script
671
- uses : actions/checkout@v2
672
-
673
- - name : Cleanup
674
- run : .github/workflows/cleanup.sh
675
-
676
- - name : Git Checkout
677
- uses : actions/checkout@v2
678
-
679
- - name : Add SBT proxy repositories
680
- run : cp -vf .github/workflows/repositories /root/.sbt/ ; true
681
-
682
- - name : Publish Dotty SBT Plugin Release
683
- run : |
684
- ./project/scripts/sbtPublish ";project sbt-dotty ;publishSigned ;sonatypeBundleRelease"
685
-
686
633
open_issue_on_failure :
687
634
runs-on : [self-hosted, Linux]
688
635
container :
0 commit comments