Skip to content

Commit 036ea9e

Browse files
committed
Only distribute linux jobs to linux runners
1 parent be6bcaf commit 036ea9e

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

.github/workflows/ci.yaml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ env:
1111

1212
jobs:
1313
test:
14-
runs-on: self-hosted
14+
runs-on: [self-hosted, linux]
1515
container: lampepfl/dotty:2020-04-24
1616

1717
steps:
@@ -54,7 +54,7 @@ jobs:
5454
./project/scripts/cmdTests
5555
5656
test_bootstrapped:
57-
runs-on: self-hosted
57+
runs-on: [self-hosted, linux]
5858
container: lampepfl/dotty:2020-04-24
5959

6060
steps:
@@ -97,7 +97,7 @@ jobs:
9797
./project/scripts/bootstrapCmdTests
9898
9999
community_build:
100-
runs-on: self-hosted
100+
runs-on: [self-hosted, linux]
101101
container: lampepfl/dotty:2020-04-24
102102

103103
steps:
@@ -138,7 +138,7 @@ jobs:
138138
./project/scripts/sbt community-build/test
139139
140140
test_sbt:
141-
runs-on: self-hosted
141+
runs-on: [self-hosted, linux]
142142
container: lampepfl/dotty:2020-04-24
143143
if: (
144144
github.event_name == 'push' &&
@@ -181,7 +181,7 @@ jobs:
181181
run: ./project/scripts/sbt sbt-dotty/scripted
182182

183183
test_java8:
184-
runs-on: self-hosted
184+
runs-on: [self-hosted, linux]
185185
container: lampepfl/dotty:2020-04-24
186186
if: (
187187
github.event_name == 'push' &&
@@ -227,7 +227,7 @@ jobs:
227227
run: ./project/scripts/sbt ";compile ;test"
228228

229229
publish_nightly:
230-
runs-on: self-hosted
230+
runs-on: [self-hosted, linux]
231231
container: lampepfl/dotty:2020-04-24
232232
needs: [test, test_bootstrapped, community_build, test_sbt, test_java8]
233233
if: github.event_name == 'schedule'
@@ -274,7 +274,7 @@ jobs:
274274
./project/scripts/sbtPublish ";project dotty-bootstrapped ;publishSigned ;sonatypeBundleRelease"
275275
276276
nightly_documentation:
277-
runs-on: self-hosted
277+
runs-on: [self-hosted, linux]
278278
container: lampepfl/dotty:2020-04-24
279279
needs: [publish_nightly]
280280
if: github.event_name == 'schedule'
@@ -328,7 +328,7 @@ jobs:
328328
publish_branch: gh-pages
329329

330330
publish_release:
331-
runs-on: self-hosted
331+
runs-on: [self-hosted, linux]
332332
container: lampepfl/dotty:2020-04-24
333333
needs: [test, test_bootstrapped, community_build, test_sbt, test_java8]
334334
if: github.event_name == 'push' &&
@@ -423,7 +423,7 @@ jobs:
423423
asset_content_type: text/plain
424424

425425
release_documentation:
426-
runs-on: self-hosted
426+
runs-on: [self-hosted, linux]
427427
container: lampepfl/dotty:2020-04-24
428428
needs: [publish_release]
429429
if: github.event_name == 'push' &&
@@ -480,7 +480,7 @@ jobs:
480480
publish_branch: gh-pages
481481

482482
publish_sbt_release:
483-
runs-on: self-hosted
483+
runs-on: [self-hosted, linux]
484484
container: lampepfl/dotty:2020-04-24
485485
needs: [test, test_bootstrapped, community_build, test_sbt, test_java8]
486486
if: github.event_name == 'push' &&

0 commit comments

Comments
 (0)