|
11 | 11 |
|
12 | 12 | jobs:
|
13 | 13 | test:
|
14 |
| - runs-on: [self-hosted, linux] |
| 14 | + runs-on: [self-hosted, Linux] |
15 | 15 | container: lampepfl/dotty:2020-04-24
|
16 | 16 |
|
17 | 17 | steps:
|
|
54 | 54 | ./project/scripts/cmdTests
|
55 | 55 |
|
56 | 56 | test_bootstrapped:
|
57 |
| - runs-on: [self-hosted, linux] |
| 57 | + runs-on: [self-hosted, Linux] |
58 | 58 | container: lampepfl/dotty:2020-04-24
|
59 | 59 |
|
60 | 60 | steps:
|
|
96 | 96 | ./project/scripts/sbt ";dotty-bootstrapped/compile ;dotty-bootstrapped/test;sjsSandbox/run;sjsSandbox/test;sjsJUnitTests/test;sjsCompilerTests/test ;configureIDE"
|
97 | 97 | ./project/scripts/bootstrapCmdTests
|
98 | 98 |
|
| 99 | +
|
| 100 | + test-windows: |
| 101 | + runs-on: [self-hosted, Windows] |
| 102 | + container: lampepfl/dotty-windows:2020-10-02 |
| 103 | + |
| 104 | + steps: |
| 105 | + - name: Checkout cleanup script |
| 106 | + uses: actions/checkout@v2 |
| 107 | + |
| 108 | + - name: Cleanup |
| 109 | + bash: .github/workflows/cleanup.sh |
| 110 | + |
| 111 | + - name: Git Checkout |
| 112 | + uses: actions/checkout@v2 |
| 113 | + |
| 114 | + - name: Cache Ivy |
| 115 | + |
| 116 | + with: |
| 117 | + path: C:\.ivy2\cache |
| 118 | + key: ${{ runner.os }}-ivy-${{ hashFiles('**/build.sbt') }} |
| 119 | + restore-keys: ${{ runner.os }}-ivy- |
| 120 | + |
| 121 | + - name: Cache SBT |
| 122 | + |
| 123 | + with: |
| 124 | + path: C:\.sbt |
| 125 | + key: ${{ runner.os }}-sbt-${{ hashFiles('project/**') }} |
| 126 | + restore-keys: ${{ runner.os }}-sbt- |
| 127 | + |
| 128 | + - name: Cache Coursier and Mill |
| 129 | + |
| 130 | + with: |
| 131 | + path: C:\.cache |
| 132 | + key: ${{ runner.os }}-general-${{ hashFiles('**/build.sbt') }} |
| 133 | + restore-keys: ${{ runner.os }}-general- |
| 134 | + |
| 135 | + - name: Test |
| 136 | + run: sbt ";compile ;test" |
| 137 | + |
| 138 | + test_bootstrapped-windows: |
| 139 | + runs-on: [self-hosted, Windows] |
| 140 | + container: lampepfl/dotty-windows:2020-10-02 |
| 141 | + |
| 142 | + steps: |
| 143 | + - name: Checkout cleanup script |
| 144 | + uses: actions/checkout@v2 |
| 145 | + |
| 146 | + - name: Cleanup |
| 147 | + bash: .github/workflows/cleanup.sh |
| 148 | + |
| 149 | + - name: Git Checkout |
| 150 | + uses: actions/checkout@v2 |
| 151 | + |
| 152 | + - name: Cache Ivy |
| 153 | + |
| 154 | + with: |
| 155 | + path: C:\.ivy2\cache |
| 156 | + key: ${{ runner.os }}-ivy-${{ hashFiles('**/build.sbt') }} |
| 157 | + restore-keys: ${{ runner.os }}-ivy- |
| 158 | + |
| 159 | + - name: Cache SBT |
| 160 | + |
| 161 | + with: |
| 162 | + path: C:\.sbt |
| 163 | + key: ${{ runner.os }}-sbt-${{ hashFiles('project/**') }} |
| 164 | + restore-keys: ${{ runner.os }}-sbt- |
| 165 | + |
| 166 | + - name: Cache Coursier and Mill |
| 167 | + |
| 168 | + with: |
| 169 | + path: C:\.cache |
| 170 | + key: ${{ runner.os }}-general-${{ hashFiles('**/build.sbt') }} |
| 171 | + restore-keys: ${{ runner.os }}-general- |
| 172 | + |
| 173 | + - name: Test |
| 174 | + run: sbt ";dotty-bootstrapped/compile ;dotty-bootstrapped/test;sjsJUnitTests/test" |
| 175 | + |
99 | 176 | community_build:
|
100 |
| - runs-on: [self-hosted, linux] |
| 177 | + runs-on: [self-hosted, Linux] |
101 | 178 | container: lampepfl/dotty:2020-04-24
|
102 | 179 |
|
103 | 180 | steps:
|
@@ -138,7 +215,7 @@ jobs:
|
138 | 215 | ./project/scripts/sbt community-build/test
|
139 | 216 |
|
140 | 217 | test_sbt:
|
141 |
| - runs-on: [self-hosted, linux] |
| 218 | + runs-on: [self-hosted, Linux] |
142 | 219 | container: lampepfl/dotty:2020-04-24
|
143 | 220 | if: (
|
144 | 221 | github.event_name == 'push' &&
|
@@ -181,7 +258,7 @@ jobs:
|
181 | 258 | run: ./project/scripts/sbt sbt-dotty/scripted
|
182 | 259 |
|
183 | 260 | test_java8:
|
184 |
| - runs-on: [self-hosted, linux] |
| 261 | + runs-on: [self-hosted, Linux] |
185 | 262 | container: lampepfl/dotty:2020-04-24
|
186 | 263 | if: (
|
187 | 264 | github.event_name == 'push' &&
|
@@ -227,7 +304,7 @@ jobs:
|
227 | 304 | run: ./project/scripts/sbt ";compile ;test"
|
228 | 305 |
|
229 | 306 | publish_nightly:
|
230 |
| - runs-on: [self-hosted, linux] |
| 307 | + runs-on: [self-hosted, Linux] |
231 | 308 | container: lampepfl/dotty:2020-04-24
|
232 | 309 | needs: [test, test_bootstrapped, community_build, test_sbt, test_java8]
|
233 | 310 | if: github.event_name == 'schedule'
|
@@ -274,7 +351,7 @@ jobs:
|
274 | 351 | ./project/scripts/sbtPublish ";project dotty-bootstrapped ;publishSigned ;sonatypeBundleRelease"
|
275 | 352 |
|
276 | 353 | nightly_documentation:
|
277 |
| - runs-on: [self-hosted, linux] |
| 354 | + runs-on: [self-hosted, Linux] |
278 | 355 | container: lampepfl/dotty:2020-04-24
|
279 | 356 | needs: [publish_nightly]
|
280 | 357 | if: github.event_name == 'schedule'
|
@@ -328,7 +405,7 @@ jobs:
|
328 | 405 | publish_branch: gh-pages
|
329 | 406 |
|
330 | 407 | publish_release:
|
331 |
| - runs-on: [self-hosted, linux] |
| 408 | + runs-on: [self-hosted, Linux] |
332 | 409 | container: lampepfl/dotty:2020-04-24
|
333 | 410 | needs: [test, test_bootstrapped, community_build, test_sbt, test_java8]
|
334 | 411 | if: github.event_name == 'push' &&
|
@@ -423,7 +500,7 @@ jobs:
|
423 | 500 | asset_content_type: text/plain
|
424 | 501 |
|
425 | 502 | release_documentation:
|
426 |
| - runs-on: [self-hosted, linux] |
| 503 | + runs-on: [self-hosted, Linux] |
427 | 504 | container: lampepfl/dotty:2020-04-24
|
428 | 505 | needs: [publish_release]
|
429 | 506 | if: github.event_name == 'push' &&
|
@@ -480,7 +557,7 @@ jobs:
|
480 | 557 | publish_branch: gh-pages
|
481 | 558 |
|
482 | 559 | publish_sbt_release:
|
483 |
| - runs-on: [self-hosted, linux] |
| 560 | + runs-on: [self-hosted, Linux] |
484 | 561 | container: lampepfl/dotty:2020-04-24
|
485 | 562 | needs: [test, test_bootstrapped, community_build, test_sbt, test_java8]
|
486 | 563 | if: github.event_name == 'push' &&
|
|
0 commit comments