From 036ea9ea21ffadc95d0279dbea4ea134049cbeaa Mon Sep 17 00:00:00 2001 From: Liu Fengyun Date: Wed, 30 Sep 2020 14:14:50 +0200 Subject: [PATCH] Only distribute linux jobs to linux runners --- .github/workflows/ci.yaml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 61a26427664d..c4202df890ad 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -11,7 +11,7 @@ env: jobs: test: - runs-on: self-hosted + runs-on: [self-hosted, linux] container: lampepfl/dotty:2020-04-24 steps: @@ -54,7 +54,7 @@ jobs: ./project/scripts/cmdTests test_bootstrapped: - runs-on: self-hosted + runs-on: [self-hosted, linux] container: lampepfl/dotty:2020-04-24 steps: @@ -97,7 +97,7 @@ jobs: ./project/scripts/bootstrapCmdTests community_build: - runs-on: self-hosted + runs-on: [self-hosted, linux] container: lampepfl/dotty:2020-04-24 steps: @@ -138,7 +138,7 @@ jobs: ./project/scripts/sbt community-build/test test_sbt: - runs-on: self-hosted + runs-on: [self-hosted, linux] container: lampepfl/dotty:2020-04-24 if: ( github.event_name == 'push' && @@ -181,7 +181,7 @@ jobs: run: ./project/scripts/sbt sbt-dotty/scripted test_java8: - runs-on: self-hosted + runs-on: [self-hosted, linux] container: lampepfl/dotty:2020-04-24 if: ( github.event_name == 'push' && @@ -227,7 +227,7 @@ jobs: run: ./project/scripts/sbt ";compile ;test" publish_nightly: - runs-on: self-hosted + runs-on: [self-hosted, linux] container: lampepfl/dotty:2020-04-24 needs: [test, test_bootstrapped, community_build, test_sbt, test_java8] if: github.event_name == 'schedule' @@ -274,7 +274,7 @@ jobs: ./project/scripts/sbtPublish ";project dotty-bootstrapped ;publishSigned ;sonatypeBundleRelease" nightly_documentation: - runs-on: self-hosted + runs-on: [self-hosted, linux] container: lampepfl/dotty:2020-04-24 needs: [publish_nightly] if: github.event_name == 'schedule' @@ -328,7 +328,7 @@ jobs: publish_branch: gh-pages publish_release: - runs-on: self-hosted + runs-on: [self-hosted, linux] container: lampepfl/dotty:2020-04-24 needs: [test, test_bootstrapped, community_build, test_sbt, test_java8] if: github.event_name == 'push' && @@ -423,7 +423,7 @@ jobs: asset_content_type: text/plain release_documentation: - runs-on: self-hosted + runs-on: [self-hosted, linux] container: lampepfl/dotty:2020-04-24 needs: [publish_release] if: github.event_name == 'push' && @@ -480,7 +480,7 @@ jobs: publish_branch: gh-pages publish_sbt_release: - runs-on: self-hosted + runs-on: [self-hosted, linux] container: lampepfl/dotty:2020-04-24 needs: [test, test_bootstrapped, community_build, test_sbt, test_java8] if: github.event_name == 'push' &&