@@ -115,10 +115,6 @@ jobs:
115
115
./project/scripts/cmdTests
116
116
./project/scripts/bootstrappedOnlyCmdTests
117
117
118
- - name: MiMa
119
- run: |
120
- ./project/scripts/sbt ";scala3-interfaces/mimaReportBinaryIssues ;scala3-library-bootstrapped/mimaReportBinaryIssues ;scala3-library-bootstrappedJS/mimaReportBinaryIssues; tasty-core-bootstrapped/mimaReportBinaryIssues"
121
-
122
118
test_windows_fast:
123
119
runs-on: [self-hosted, Windows]
124
120
if: "(
@@ -189,6 +185,47 @@ jobs:
189
185
run: sbt ";sjsJUnitTests/test ;sjsCompilerTests/test"
190
186
shell: cmd
191
187
188
+ mima:
189
+ name: MiMa
190
+ runs-on: [self-hosted, Linux]
191
+ container:
192
+ image: lampepfl/dotty:2021-03-22
193
+ options: --cpu-shares 4096
194
+ volumes:
195
+ - ${{ github.workspace }}/../../cache/sbt:/root/.sbt
196
+ - ${{ github.workspace }}/../../cache/ivy:/root/.ivy2/cache
197
+ - ${{ github.workspace }}/../../cache/general:/root/.cache
198
+ if: "github.event_name == 'schedule' && github.repository == 'lampepfl/dotty'
199
+ || github.event_name == 'push'
200
+ || (
201
+ github.event_name == 'pull_request'
202
+ && !contains(github.event.pull_request.body, '[skip ci]')
203
+ && !contains(github.event.pull_request.body, '[skip mima]')
204
+ )
205
+ || (
206
+ github.event_name == 'workflow_dispatch'
207
+ && github.repository == 'lampepfl/dotty'
208
+ )"
209
+ steps:
210
+ - name: Reset existing repo
211
+ run: git -c "http.https://github.com/.extraheader=" fetch --recurse-submodules=no "https://github.com/lampepfl/dotty" && git reset --hard FETCH_HEAD || true
212
+
213
+ - name: Checkout cleanup script
214
+ uses: actions/checkout@v2
215
+
216
+ - name: Cleanup
217
+ run: .github/workflows/cleanup.sh
218
+
219
+ - name: Git Checkout
220
+ uses: actions/checkout@v2
221
+
222
+ - name: Add SBT proxy repositories
223
+ run: cp -vf .github/workflows/repositories /root/.sbt/ ; true
224
+
225
+ - name: MiMa
226
+ run: |
227
+ ./project/scripts/sbt ";scala3-interfaces/mimaReportBinaryIssues ;scala3-library-bootstrapped/mimaReportBinaryIssues ;scala3-library-bootstrappedJS/mimaReportBinaryIssues; tasty-core-bootstrapped/mimaReportBinaryIssues"
228
+
192
229
community_build_a:
193
230
runs-on: [self-hosted, Linux]
194
231
container:
@@ -472,7 +509,7 @@ jobs:
472
509
- ${{ github.workspace }}/../../cache/sbt:/root/.sbt
473
510
- ${{ github.workspace }}/../../cache/ivy:/root/.ivy2/cache
474
511
- ${{ github.workspace }}/../../cache/general:/root/.cache
475
- needs: [test_non_bootstrapped, test, community_build_a, community_build_b, community_build_c, community_build_forward_compat, test_sbt, test_java8]
512
+ needs: [test_non_bootstrapped, test, mima, community_build_a, community_build_b, community_build_c, community_build_forward_compat, test_sbt, test_java8]
476
513
if: "(github.event_name == 'schedule' || github.event_name == 'workflow_dispatch') && github.repository == 'lampepfl/dotty'"
477
514
env:
478
515
NIGHTLYBUILD: yes
@@ -573,7 +610,7 @@ jobs:
573
610
- ${{ github.workspace }}/../../cache/sbt:/root/.sbt
574
611
- ${{ github.workspace }}/../../cache/ivy:/root/.ivy2/cache
575
612
- ${{ github.workspace }}/../../cache/general:/root/.cache
576
- needs: [test_non_bootstrapped, test, community_build_a, community_build_b, community_build_c, test_sbt, test_java8]
613
+ needs: [test_non_bootstrapped, test, mima, community_build_a, community_build_b, community_build_c, test_sbt, test_java8]
577
614
if: "github.event_name == 'push'
578
615
&& startsWith(github.event.ref, 'refs/tags/')"
579
616
0 commit comments