|
10 | 10 | DOTTY_CI_RUN: true |
11 | 11 |
|
12 | 12 | jobs: |
13 | | - test: |
| 13 | + test_non_bootstrapped: |
14 | 14 | runs-on: [self-hosted, Linux] |
15 | 15 | container: |
16 | 16 | image: lampepfl/dotty:2020-11-19 |
17 | 17 | volumes: |
18 | 18 | - ${{ github.workspace }}/../../cache/sbt:/root/.sbt |
19 | 19 | - ${{ github.workspace }}/../../cache/ivy:/root/.ivy2/cache |
20 | 20 | - ${{ github.workspace }}/../../cache/general:/root/.cache |
21 | | - if: "!(github.event_name == 'push' && |
22 | | - startsWith(github.event.ref, 'refs/tags/sbt-dotty-'))" |
23 | | - |
| 21 | + if: "( |
| 22 | + github.event_name == 'push' && |
| 23 | + !startsWith(github.event.ref, 'refs/tags/sbt-dotty-') |
| 24 | + ) || |
| 25 | + github.event_name == 'schedule')" |
24 | 26 | steps: |
25 | 27 | - name: Set JDK 15 as default |
26 | 28 | run: echo "/usr/lib/jvm/java-15-openjdk-amd64/bin" >> $GITHUB_PATH |
|
42 | 44 | ./project/scripts/sbt ";compile ;test" |
43 | 45 | ./project/scripts/cmdTests |
44 | 46 |
|
45 | | - test_bootstrapped: |
| 47 | + test: |
46 | 48 | runs-on: [self-hosted, Linux] |
47 | 49 | container: |
48 | 50 | image: lampepfl/dotty:2020-11-19 |
|
74 | 76 | ./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" |
75 | 77 | ./project/scripts/bootstrapCmdTests |
76 | 78 |
|
77 | | - ## Only run bootstrapped tests for Windows since that's a superset of the |
78 | | - ## non-bootstrapped tests and bootstrapping issues should be caught by |
79 | | - ## the non-bootstrapped Linux runner. |
80 | | - # test-windows: |
81 | | - # runs-on: [self-hosted, Windows] |
82 | | - # if: "!(github.event_name == 'push' && |
83 | | - # startsWith(github.event.ref, 'refs/tags/sbt-dotty-'))" |
84 | | - |
85 | | - # steps: |
86 | | - # - name: Git Checkout |
87 | | - # uses: actions/checkout@v2 |
88 | | - |
89 | | - # - name: Test |
90 | | - # run: sbt ";compile ;test" |
91 | | - # shell: cmd |
92 | | - |
93 | | - test_bootstrapped-windows: |
| 79 | + test_windows: |
94 | 80 | runs-on: [self-hosted, Windows] |
95 | 81 | if: "!(github.event_name == 'push' && |
96 | 82 | startsWith(github.event.ref, 'refs/tags/sbt-dotty-'))" |
@@ -193,7 +179,7 @@ jobs: |
193 | 179 | - name: Test |
194 | 180 | run: ./project/scripts/sbt sbt-dotty/scripted |
195 | 181 |
|
196 | | - test_bootstrapped_java8: |
| 182 | + test_java8: |
197 | 183 | runs-on: [self-hosted, Linux] |
198 | 184 | container: |
199 | 185 | image: lampepfl/dotty:2020-11-19 |
@@ -238,7 +224,7 @@ jobs: |
238 | 224 | - ${{ github.workspace }}/../../cache/sbt:/root/.sbt |
239 | 225 | - ${{ github.workspace }}/../../cache/ivy:/root/.ivy2/cache |
240 | 226 | - ${{ github.workspace }}/../../cache/general:/root/.cache |
241 | | - needs: [test, test_bootstrapped, community_build_a, community_build_b, test_sbt, test_bootstrapped_java8] |
| 227 | + needs: [test_non_bootstrapped, test, community_build_a, community_build_b, test_sbt, test_java8] |
242 | 228 | if: github.event_name == 'schedule' |
243 | 229 | env: |
244 | 230 | NIGHTLYBUILD: yes |
@@ -313,7 +299,7 @@ jobs: |
313 | 299 | - ${{ github.workspace }}/../../cache/sbt:/root/.sbt |
314 | 300 | - ${{ github.workspace }}/../../cache/ivy:/root/.ivy2/cache |
315 | 301 | - ${{ github.workspace }}/../../cache/general:/root/.cache |
316 | | - needs: [test, test_bootstrapped, community_build_a, community_build_b, test_sbt, test_bootstrapped_java8] |
| 302 | + needs: [test_non_bootstrapped, test, community_build_a, community_build_b, test_sbt, test_java8] |
317 | 303 | if: github.event_name == 'push' && |
318 | 304 | startsWith(github.event.ref, 'refs/tags/') && |
319 | 305 | !startsWith(github.event.ref, 'refs/tags/sbt-dotty-') |
|
0 commit comments