Skip to content

Commit a70be63

Browse files
committed
chore: drop old MiMa
1 parent 4c8e490 commit a70be63

File tree

2 files changed

+1
-68
lines changed

2 files changed

+1
-68
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -236,53 +236,6 @@ jobs:
236236
run: sbt ";sjsJUnitTests/test ;set sjsJUnitTests/scalaJSLinkerConfig ~= switchToESModules ;sjsJUnitTests/test ;sjsCompilerTests/test"
237237
shell: cmd
238238

239-
mima:
240-
name: MiMa
241-
runs-on: [self-hosted, Linux]
242-
container:
243-
image: lampepfl/dotty:2024-10-18
244-
options: --cpu-shares 4096
245-
volumes:
246-
- ${{ github.workspace }}/../../cache/sbt:/root/.sbt
247-
- ${{ github.workspace }}/../../cache/ivy:/root/.ivy2/cache
248-
- ${{ github.workspace }}/../../cache/general:/root/.cache
249-
if: "github.event_name == 'schedule' && github.repository == 'scala/scala3'
250-
|| github.event_name == 'push'
251-
|| github.event_name == 'merge_group'
252-
|| (
253-
github.event_name == 'pull_request'
254-
&& !contains(github.event.pull_request.body, '[skip ci]')
255-
&& !contains(github.event.pull_request.body, '[skip mima]')
256-
)
257-
|| (
258-
github.event_name == 'workflow_dispatch'
259-
&& github.repository == 'scala/scala3'
260-
)"
261-
steps:
262-
- name: Set JDK 17 as default
263-
run: echo "/usr/lib/jvm/java-17-openjdk-amd64/bin" >> $GITHUB_PATH
264-
265-
- name: Reset existing repo
266-
run: |
267-
git config --global --add safe.directory $GITHUB_WORKSPACE
268-
git -c "http.https://github.com/.extraheader=" fetch --recurse-submodules=no "https://github.com/scala/scala3" && git reset --hard FETCH_HEAD || true
269-
270-
- name: Checkout cleanup script
271-
uses: actions/checkout@v5
272-
273-
- name: Cleanup
274-
run: .github/workflows/cleanup.sh
275-
276-
- name: Git Checkout
277-
uses: actions/checkout@v5
278-
279-
- name: Add SBT proxy repositories
280-
run: cp -vf .github/workflows/repositories /root/.sbt/ ; true
281-
282-
- name: MiMa
283-
run: |
284-
./project/scripts/sbt ";scala3-interfaces/mimaReportBinaryIssues ;scala3-library-bootstrapped/mimaReportBinaryIssues ;scala3-library-bootstrappedJS/mimaReportBinaryIssues; tasty-core-bootstrapped/mimaReportBinaryIssues;"
285-
286239
community_build_a:
287240
runs-on: [self-hosted, Linux]
288241
container:
@@ -570,7 +523,7 @@ jobs:
570523
- ${{ github.workspace }}/../../cache/sbt:/root/.sbt
571524
- ${{ github.workspace }}/../../cache/ivy:/root/.ivy2/cache
572525
- ${{ github.workspace }}/../../cache/general:/root/.cache
573-
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]
526+
needs: [test_non_bootstrapped, test, community_build_a, community_build_b, community_build_c, test_sbt, test_java8, build-sdk-package, build-msi-package]
574527
if: "github.event_name == 'push'
575528
&& startsWith(github.event.ref, 'refs/tags/')"
576529

project/Build.scala

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -3467,18 +3467,6 @@ object Build {
34673467
val doWork = (Compile/doc).result.value
34683468
(Compile/doc/target).value
34693469
},
3470-
commonMiMaSettings,
3471-
mimaPreviousArtifacts += {
3472-
val thisProjectID = projectID.value
3473-
val crossedName = thisProjectID.crossVersion match {
3474-
case cv: Disabled => thisProjectID.name
3475-
case cv: Binary => s"${thisProjectID.name}_${cv.prefix}3${cv.suffix}"
3476-
}
3477-
(thisProjectID.organization % crossedName % mimaPreviousLTSDottyVersion)
3478-
},
3479-
mimaForwardIssueFilters := MiMaFilters.Scala3Library.ForwardsBreakingChanges,
3480-
mimaBackwardIssueFilters := MiMaFilters.Scala3Library.BackwardsBreakingChanges,
3481-
customMimaReportBinaryIssues("MiMaFilters.Scala3Library"),
34823470
)
34833471
} else base
34843472
}
@@ -3493,14 +3481,6 @@ object Build {
34933481
Test / envVars ++= Map(
34943482
"EXPECTED_TASTY_VERSION" -> expectedTastyVersion,
34953483
),
3496-
if (mode == Bootstrapped) Def.settings(
3497-
commonMiMaSettings,
3498-
mimaForwardIssueFilters := MiMaFilters.TastyCore.ForwardsBreakingChanges,
3499-
mimaBackwardIssueFilters := MiMaFilters.TastyCore.BackwardsBreakingChanges,
3500-
customMimaReportBinaryIssues("MiMaFilters.TastyCore"),
3501-
) else {
3502-
Nil
3503-
}
35043484
)
35053485

35063486
def asTastyCoreScala2: Project = project

0 commit comments

Comments
 (0)