Skip to content

Commit

Permalink
Try select runners
Browse files Browse the repository at this point in the history
  • Loading branch information
WojciechMazur committed Dec 10, 2024
1 parent 3b8cec5 commit aa071ba
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ concurrency:
env:
DOTTY_CI_RUN: true
DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }}

# In this file, we set `--cpu-shares 4096` on every job. This might seem useless
# since it means that every container has the same weight which should be
# equivalent to doing nothing, but it turns out that OpenJDK computes
Expand All @@ -54,7 +54,7 @@ env:

jobs:
test_non_bootstrapped:
runs-on: ${{ github.repository == 'scala/scala3' && [self-hosted, Linux] || [ubuntu-latest] }}
runs-on: ${{ github.repository == 'scala/scala3' && 'Linux' || 'ubuntu-latest' }}
container:
image: wojciechmazur95/dotty:2024-12-10-test
options: --cpu-shares 4096
Expand Down Expand Up @@ -105,7 +105,7 @@ jobs:
./project/scripts/cmdTests
test:
runs-on: ${{ github.repository == 'scala/scala3' && [self-hosted, Linux] || [ubuntu-latest] }}
runs-on: ${{ github.repository == 'scala/scala3' && 'Linux' || 'ubuntu-latest' }}
container:
image: wojciechmazur95/dotty:2024-12-10-test
options: --cpu-shares 4096
Expand Down Expand Up @@ -164,7 +164,7 @@ jobs:
run: ./project/scripts/sbt ";set ThisBuild/Build.scala2Library := Build.Scala2LibraryCCTasty; scala2-library-cc/compile; scala2-library-cc-tasty/compile; scala3-bootstrapped/testCompilation i3"

test_scala2_library_tasty:
runs-on: ${{ github.repository == 'scala/scala3' && [self-hosted, Linux] || [ubuntu-latest] }}
runs-on: ${{ github.repository == 'scala/scala3' && 'Linux' || 'ubuntu-latest' }}
container:
image: wojciechmazur95/dotty:2024-12-10-test
options: --cpu-shares 4096
Expand Down Expand Up @@ -288,7 +288,7 @@ jobs:

mima:
name: MiMa
runs-on: ${{ github.repository == 'scala/scala3' && [self-hosted, Linux] || [ubuntu-latest] }}
runs-on: ${{ github.repository == 'scala/scala3' && 'Linux' || 'ubuntu-latest' }}
container:
image: wojciechmazur95/dotty:2024-12-10-test
options: --cpu-shares 4096
Expand Down Expand Up @@ -338,7 +338,7 @@ jobs:
./project/scripts/scala2-library-tasty-mima.sh
community_build_a:
runs-on: ${{ github.repository == 'scala/scala3' && [self-hosted, Linux] || [ubuntu-latest] }}
runs-on: ${{ github.repository == 'scala/scala3' && 'Linux' || 'ubuntu-latest' }}
container:
image: wojciechmazur95/dotty:2024-12-10-test
options: --cpu-shares 4096
Expand Down Expand Up @@ -393,7 +393,7 @@ jobs:
run: cat community-build/dotty-community-build-deps || true

community_build_b:
runs-on: ${{ github.repository == 'scala/scala3' && [self-hosted, Linux] || [ubuntu-latest] }}
runs-on: ${{ github.repository == 'scala/scala3' && 'Linux' || 'ubuntu-latest' }}
container:
image: wojciechmazur95/dotty:2024-12-10-test
options: --cpu-shares 4096
Expand Down Expand Up @@ -448,7 +448,7 @@ jobs:
run: cat community-build/dotty-community-build-deps || true

community_build_c:
runs-on: ${{ github.repository == 'scala/scala3' && [self-hosted, Linux] || [ubuntu-latest] }}
runs-on: ${{ github.repository == 'scala/scala3' && 'Linux' || 'ubuntu-latest' }}
container:
image: wojciechmazur95/dotty:2024-12-10-test
options: --cpu-shares 4096
Expand Down Expand Up @@ -503,7 +503,7 @@ jobs:
run: cat community-build/dotty-community-build-deps || true

test_sbt:
runs-on: ${{ github.repository == 'scala/scala3' && [self-hosted, Linux] || [ubuntu-latest] }}
runs-on: ${{ github.repository == 'scala/scala3' && 'Linux' || 'ubuntu-latest' }}
container:
image: wojciechmazur95/dotty:2024-12-10-test
options: --cpu-shares 4096
Expand Down Expand Up @@ -547,7 +547,7 @@ jobs:
run: ./project/scripts/sbt "sbt-test/scripted; sbt-community-build/scripted"

test_java8:
runs-on: ${{ github.repository == 'scala/scala3' && [self-hosted, Linux] || [ubuntu-latest] }}
runs-on: ${{ github.repository == 'scala/scala3' && 'Linux' || 'ubuntu-latest' }}
container:
image: wojciechmazur95/dotty:2024-12-10-test
options: --cpu-shares 4096
Expand Down Expand Up @@ -606,7 +606,7 @@ jobs:
./project/scripts/sbt ";sjsSandbox/run ;sjsSandbox/test ;sjsJUnitTests/test ;set sjsJUnitTests/scalaJSLinkerConfig ~= switchToESModules ;sjsJUnitTests/test ;sjsCompilerTests/test"
publish_nightly:
runs-on: ${{ github.repository == 'scala/scala3' && [self-hosted, Linux] || [ubuntu-latest] }}
runs-on: ${{ github.repository == 'scala/scala3' && 'Linux' || 'ubuntu-latest' }}
container:
image: wojciechmazur95/dotty:2024-12-10-test
options: --cpu-shares 4096
Expand Down Expand Up @@ -676,7 +676,7 @@ jobs:
./project/scripts/sbtPublish ";project scala3-bootstrapped ;publishSigned ;sonatypeBundleRelease"
nightly_documentation:
runs-on: ${{ github.repository == 'scala/scala3' && [self-hosted, Linux] || [ubuntu-latest] }}
runs-on: ${{ github.repository == 'scala/scala3' && 'Linux' || 'ubuntu-latest' }}
container:
image: wojciechmazur95/dotty:2024-12-10-test
options: --cpu-shares 4096
Expand Down Expand Up @@ -720,7 +720,7 @@ jobs:
publish_release:
permissions:
contents: write # for actions/create-release to create a release
runs-on: ${{ github.repository == 'scala/scala3' && [self-hosted, Linux] || [ubuntu-latest] }}
runs-on: ${{ github.repository == 'scala/scala3' && 'Linux' || 'ubuntu-latest' }}
container:
image: wojciechmazur95/dotty:2024-12-10-test
options: --cpu-shares 4096
Expand Down Expand Up @@ -1129,7 +1129,7 @@ jobs:


open_issue_on_failure:
runs-on: ${{ github.repository == 'scala/scala3' && [self-hosted, Linux] || [ubuntu-latest] }}
runs-on: ${{ github.repository == 'scala/scala3' && 'Linux' || 'ubuntu-latest' }}
container:
image: wojciechmazur95/dotty:2024-12-10-test
needs: [nightly_documentation, test_windows_full]
Expand Down

0 comments on commit aa071ba

Please sign in to comment.