@@ -157,59 +157,6 @@ jobs:
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 : " (
@@ -334,12 +281,7 @@ jobs:
334281
335282 - name : MiMa
336283 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
284+ ./project/scripts/sbt ";scala3-interfaces/mimaReportBinaryIssues ;scala3-library-bootstrapped/mimaReportBinaryIssues ;scala3-library-bootstrappedJS/mimaReportBinaryIssues; tasty-core-bootstrapped/mimaReportBinaryIssues;"
343285
344286 community_build_a :
345287 runs-on : [self-hosted, Linux]
0 commit comments