@@ -149,67 +149,14 @@ jobs:
149149 - name : Cmd Tests
150150 run : |
151151 ./project/scripts/buildScalaBinary
152- ./project/scripts/sbt ";scala3-bootstrapped/compile ;scala3-bootstrapped/test ; sbt-test/scripted scala2-compat/* ;scala3-compiler-bootstrapped/scala3CompilerCoursierTest:test"
152+ ./project/scripts/sbt ";scala3-bootstrapped/compile ;sbt-test/scripted scala2-compat/* ;scala3-compiler-bootstrapped/scala3CompilerCoursierTest:test"
153153 ./project/scripts/cmdTests
154154 ./project/scripts/bootstrappedOnlyCmdTests
155155
156156 - name : Scala.js Test
157157 run : |
158158 ./project/scripts/sbt ";sjsSandbox/run ;sjsSandbox/test ;sjsJUnitTests/test ;set sjsJUnitTests/scalaJSLinkerConfig ~= switchToESModules ;sjsJUnitTests/test ;sjsCompilerTests/test"
159159
160- - name : Test with Scala 2 library TASTy (fast)
161- run : ./project/scripts/sbt ";set ThisBuild/Build.scala2Library := Build.Scala2LibraryTasty ;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
162-
163- - name : Test with Scala 2 library with CC TASTy (fast)
164- run : ./project/scripts/sbt ";set ThisBuild/Build.scala2Library := Build.Scala2LibraryCCTasty; scala2-library-cc/compile; scala2-library-cc-tasty/compile; scala3-bootstrapped/testCompilation i3"
165-
166- test_scala2_library_tasty :
167- runs-on : [self-hosted, Linux]
168- container :
169- image : lampepfl/dotty:2024-10-18
170- options : --cpu-shares 4096
171- volumes :
172- - ${{ github.workspace }}/../../cache/sbt:/root/.sbt
173- - ${{ github.workspace }}/../../cache/ivy:/root/.ivy2/cache
174- - ${{ github.workspace }}/../../cache/general:/root/.cache
175- if : " github.event_name == 'schedule' && github.repository == 'scala/scala3'
176- || (
177- github.event_name == 'pull_request'
178- && contains(github.event.pull_request.body, '[test_scala2_library_tasty]')
179- )
180- || (
181- github.event_name == 'workflow_dispatch'
182- && github.repository == 'scala/scala3'
183- )"
184-
185- steps :
186- - name : Set JDK 17 as default
187- run : echo "/usr/lib/jvm/java-17-openjdk-amd64/bin" >> $GITHUB_PATH
188-
189- - name : Reset existing repo
190- run : |
191- git config --global --add safe.directory $GITHUB_WORKSPACE
192- git -c "http.https://github.com/.extraheader=" fetch --recurse-submodules=no "https://github.com/scala/scala3" && git reset --hard FETCH_HEAD || true
193-
194- - name : Checkout cleanup script
195- uses : actions/checkout@v5
196-
197- - name : Cleanup
198- run : .github/workflows/cleanup.sh
199-
200- - name : Git Checkout
201- uses : actions/checkout@v5
202-
203- - name : Add SBT proxy repositories
204- run : cp -vf .github/workflows/repositories /root/.sbt/ ; true
205-
206- - name : Test with Scala 2 library TASTy
207- run : ./project/scripts/sbt ";set ThisBuild/Build.scala2Library := Build.Scala2LibraryTasty ;scala3-bootstrapped/test"
208-
209- - name : Test with Scala 2 library with CC TASTy
210- run : ./project/scripts/sbt ";set ThisBuild/Build.scala2Library := Build.Scala2LibraryCCTasty ;scala3-bootstrapped/test"
211-
212-
213160 test_windows_fast :
214161 runs-on : [self-hosted, Windows]
215162 if : " (
@@ -234,7 +181,7 @@ jobs:
234181 uses : actions/checkout@v5
235182
236183 - name : Test
237- run : sbt ";scala3-bootstrapped/compile; scala3-bootstrapped/testCompilation; scala3- presentation-compiler/test; scala3-language-server/test"
184+ run : sbt ";scala3-bootstrapped/compile; scala3-presentation-compiler/test; scala3-language-server/test"
238185 shell : cmd
239186
240187 - name : build binary
@@ -289,58 +236,6 @@ jobs:
289236 run : sbt ";sjsJUnitTests/test ;set sjsJUnitTests/scalaJSLinkerConfig ~= switchToESModules ;sjsJUnitTests/test ;sjsCompilerTests/test"
290237 shell : cmd
291238
292- mima :
293- name : MiMa
294- runs-on : [self-hosted, Linux]
295- container :
296- image : lampepfl/dotty:2024-10-18
297- options : --cpu-shares 4096
298- volumes :
299- - ${{ github.workspace }}/../../cache/sbt:/root/.sbt
300- - ${{ github.workspace }}/../../cache/ivy:/root/.ivy2/cache
301- - ${{ github.workspace }}/../../cache/general:/root/.cache
302- if : " github.event_name == 'schedule' && github.repository == 'scala/scala3'
303- || github.event_name == 'push'
304- || github.event_name == 'merge_group'
305- || (
306- github.event_name == 'pull_request'
307- && !contains(github.event.pull_request.body, '[skip ci]')
308- && !contains(github.event.pull_request.body, '[skip mima]')
309- )
310- || (
311- github.event_name == 'workflow_dispatch'
312- && github.repository == 'scala/scala3'
313- )"
314- steps :
315- - name : Set JDK 17 as default
316- run : echo "/usr/lib/jvm/java-17-openjdk-amd64/bin" >> $GITHUB_PATH
317-
318- - name : Reset existing repo
319- run : |
320- git config --global --add safe.directory $GITHUB_WORKSPACE
321- git -c "http.https://github.com/.extraheader=" fetch --recurse-submodules=no "https://github.com/scala/scala3" && git reset --hard FETCH_HEAD || true
322-
323- - name : Checkout cleanup script
324- uses : actions/checkout@v5
325-
326- - name : Cleanup
327- run : .github/workflows/cleanup.sh
328-
329- - name : Git Checkout
330- uses : actions/checkout@v5
331-
332- - name : Add SBT proxy repositories
333- run : cp -vf .github/workflows/repositories /root/.sbt/ ; true
334-
335- - name : MiMa
336- run : |
337- ./project/scripts/sbt ";scala3-interfaces/mimaReportBinaryIssues ;scala3-library-bootstrapped/mimaReportBinaryIssues ;scala3-library-bootstrappedJS/mimaReportBinaryIssues; tasty-core-bootstrapped/mimaReportBinaryIssues; scala2-library-bootstrapped/mimaReportBinaryIssues"
338-
339- - name : TASTy MiMa
340- run : |
341- # This script cleans the compiler and recompiles it from scratch (keep as last run)
342- ./project/scripts/scala2-library-tasty-mima.sh
343-
344239 community_build_a :
345240 runs-on : [self-hosted, Linux]
346241 container :
@@ -557,66 +452,6 @@ jobs:
557452 - name : Test sbt
558453 run : ./project/scripts/sbt "sbt-test/scripted; sbt-community-build/scripted"
559454
560- test_java8 :
561- runs-on : [self-hosted, Linux]
562- container :
563- image : lampepfl/dotty:2024-10-18
564- options : --cpu-shares 4096
565- volumes :
566- - ${{ github.workspace }}/../../cache/sbt:/root/.sbt
567- - ${{ github.workspace }}/../../cache/ivy:/root/.ivy2/cache
568- - ${{ github.workspace }}/../../cache/general:/root/.cache
569-
570- if : " github.event_name == 'schedule' && github.repository == 'scala/scala3'
571- || (
572- github.event_name == 'push'
573- && startsWith(github.event.ref, 'refs/tags/')
574- )
575- || (
576- github.event_name == 'pull_request'
577- && !contains(github.event.pull_request.body, '[skip ci]')
578- && contains(github.event.pull_request.body, '[test_java8]')
579- )
580- || (
581- github.event_name == 'workflow_dispatch'
582- && github.repository == 'scala/scala3'
583- )"
584-
585- steps :
586- # ###################################################################################
587- # # WARNING: DO NOT CHANGE THE JAVA VERSION HERE. THIS TEST IS SPECIFIC FOR JAVA 8 ##
588- # ###################################################################################
589- - name : Set JDK 8 as default
590- run : echo "/usr/lib/jvm/java-8-openjdk-amd64/bin" >> $GITHUB_PATH
591-
592- - name : Reset existing repo
593- run : |
594- git config --global --add safe.directory $GITHUB_WORKSPACE
595- git -c "http.https://github.com/.extraheader=" fetch --recurse-submodules=no "https://github.com/scala/scala3" && git reset --hard FETCH_HEAD || true
596-
597- - name : Checkout cleanup script
598- uses : actions/checkout@v5
599-
600- - name : Cleanup
601- run : .github/workflows/cleanup.sh
602-
603- - name : Git Checkout
604- uses : actions/checkout@v5
605-
606- - name : Add SBT proxy repositories
607- run : cp -vf .github/workflows/repositories /root/.sbt/ ; true
608-
609- - name : Test
610- run : |
611- ./project/scripts/buildScalaBinary
612- ./project/scripts/sbt ";scala3-bootstrapped/compile ;scala3-bootstrapped/test ;sbt-test/scripted scala2-compat/*"
613- ./project/scripts/cmdTests
614- ./project/scripts/bootstrappedOnlyCmdTests
615-
616- - name : Scala.js Test
617- run : |
618- ./project/scripts/sbt ";sjsSandbox/run ;sjsSandbox/test ;sjsJUnitTests/test ;set sjsJUnitTests/scalaJSLinkerConfig ~= switchToESModules ;sjsJUnitTests/test ;sjsCompilerTests/test"
619-
620455 publish_release :
621456 permissions :
622457 contents : write # for GH CLI to create a release
@@ -628,7 +463,7 @@ jobs:
628463 - ${{ github.workspace }}/../../cache/sbt:/root/.sbt
629464 - ${{ github.workspace }}/../../cache/ivy:/root/.ivy2/cache
630465 - ${{ github.workspace }}/../../cache/general:/root/.cache
631- needs : [test_non_bootstrapped, test, mima, community_build_a, community_build_b, community_build_c, test_sbt, test_java8 , build-sdk-package, build-msi-package]
466+ needs : [test_non_bootstrapped, test, community_build_a, community_build_b, community_build_c, test_sbt, build-sdk-package, build-msi-package]
632467 if : " github.event_name == 'push'
633468 && startsWith(github.event.ref, 'refs/tags/')"
634469
0 commit comments