Skip to content

Commit dd58e84

Browse files
Disable community_build_c
See #12441 (comment)
1 parent a098c13 commit dd58e84

File tree

1 file changed

+51
-51
lines changed

1 file changed

+51
-51
lines changed

.github/workflows/ci.yaml

Lines changed: 51 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -280,54 +280,54 @@ jobs:
280280
git submodule update --init --recursive --jobs 7
281281
./project/scripts/sbt "community-build/testOnly dotty.communitybuild.CommunityBuildTestB"
282282
283-
community_build_c:
284-
runs-on: [self-hosted, Linux]
285-
container:
286-
image: lampepfl/dotty:2020-11-19
287-
options: --cpu-shares 4096
288-
volumes:
289-
- ${{ github.workspace }}/../../cache/sbt:/root/.sbt
290-
- ${{ github.workspace }}/../../cache/ivy:/root/.ivy2/cache
291-
- ${{ github.workspace }}/../../cache/general:/root/.cache
292-
if: "github.event_name == 'schedule' && github.repository == 'lampepfl/dotty'
293-
|| github.event_name == 'push'
294-
|| (
295-
github.event_name == 'pull_request'
296-
&& !contains(github.event.pull_request.body, '[skip ci]')
297-
&& !contains(github.event.pull_request.body, '[skip community_build]')
298-
)
299-
|| (
300-
github.event_name == 'workflow_dispatch'
301-
&& github.repository == 'lampepfl/dotty'
302-
)"
303-
304-
steps:
305-
- name: Reset existing repo
306-
run: git -c "http.https://github.com/.extraheader=" fetch --recurse-submodules=no "https://github.com/lampepfl/dotty" && git reset --hard FETCH_HEAD || true
307-
308-
- name: Checkout cleanup script
309-
uses: actions/checkout@v2
310-
311-
- name: Cleanup
312-
run: .github/workflows/cleanup.sh
313-
314-
- name: Git Checkout
315-
uses: actions/checkout@v2
316-
317-
- name: Add SBT proxy repositories
318-
run: cp -vf .github/workflows/repositories /root/.sbt/ ; true
319-
320-
- name: Disable experimental features on release
321-
if: "github.event_name == 'push'
322-
&& startsWith(github.event.ref, 'refs/tags/')
323-
&& !startsWith(github.event.ref, 'refs/tags/sbt-dotty-')"
324-
run: echo "DISALLOW_EXPERIMENTAL_FEATURES=true" >> $GITHUB_ENV
325-
326-
- name: Test
327-
run: |
328-
git submodule sync
329-
git submodule update --init --recursive --jobs 7
330-
./project/scripts/sbt "community-build/testOnly dotty.communitybuild.CommunityBuildTestC"
283+
# community_build_c:
284+
# runs-on: [self-hosted, Linux]
285+
# container:
286+
# image: lampepfl/dotty:2020-11-19
287+
# options: --cpu-shares 4096
288+
# volumes:
289+
# - ${{ github.workspace }}/../../cache/sbt:/root/.sbt
290+
# - ${{ github.workspace }}/../../cache/ivy:/root/.ivy2/cache
291+
# - ${{ github.workspace }}/../../cache/general:/root/.cache
292+
# if: "github.event_name == 'schedule' && github.repository == 'lampepfl/dotty'
293+
# || github.event_name == 'push'
294+
# || (
295+
# github.event_name == 'pull_request'
296+
# && !contains(github.event.pull_request.body, '[skip ci]')
297+
# && !contains(github.event.pull_request.body, '[skip community_build]')
298+
# )
299+
# || (
300+
# github.event_name == 'workflow_dispatch'
301+
# && github.repository == 'lampepfl/dotty'
302+
# )"
303+
304+
# steps:
305+
# - name: Reset existing repo
306+
# run: git -c "http.https://github.com/.extraheader=" fetch --recurse-submodules=no "https://github.com/lampepfl/dotty" && git reset --hard FETCH_HEAD || true
307+
308+
# - name: Checkout cleanup script
309+
# uses: actions/checkout@v2
310+
311+
# - name: Cleanup
312+
# run: .github/workflows/cleanup.sh
313+
314+
# - name: Git Checkout
315+
# uses: actions/checkout@v2
316+
317+
# - name: Add SBT proxy repositories
318+
# run: cp -vf .github/workflows/repositories /root/.sbt/ ; true
319+
320+
# - name: Disable experimental features on release
321+
# if: "github.event_name == 'push'
322+
# && startsWith(github.event.ref, 'refs/tags/')
323+
# && !startsWith(github.event.ref, 'refs/tags/sbt-dotty-')"
324+
# run: echo "DISALLOW_EXPERIMENTAL_FEATURES=true" >> $GITHUB_ENV
325+
326+
# - name: Test
327+
# run: |
328+
# git submodule sync
329+
# git submodule update --init --recursive --jobs 7
330+
# ./project/scripts/sbt "community-build/testOnly dotty.communitybuild.CommunityBuildTestC"
331331

332332
test_sbt:
333333
runs-on: [self-hosted, Linux]
@@ -428,7 +428,7 @@ jobs:
428428
- ${{ github.workspace }}/../../cache/sbt:/root/.sbt
429429
- ${{ github.workspace }}/../../cache/ivy:/root/.ivy2/cache
430430
- ${{ github.workspace }}/../../cache/general:/root/.cache
431-
needs: [test_non_bootstrapped, test, community_build_a, community_build_b, community_build_c, test_sbt, test_java8]
431+
needs: [test_non_bootstrapped, test, community_build_a, community_build_b, test_sbt, test_java8]
432432
if: "(github.event_name == 'schedule' || github.event_name == 'workflow_dispatch') && github.repository == 'lampepfl/dotty'"
433433
env:
434434
NIGHTLYBUILD: yes
@@ -511,7 +511,7 @@ jobs:
511511
- ${{ github.workspace }}/../../cache/sbt:/root/.sbt
512512
- ${{ github.workspace }}/../../cache/ivy:/root/.ivy2/cache
513513
- ${{ github.workspace }}/../../cache/general:/root/.cache
514-
needs: [test_non_bootstrapped, test, community_build_a, community_build_b, community_build_c, test_sbt, test_java8]
514+
needs: [test_non_bootstrapped, test, community_build_a, community_build_b, test_sbt, test_java8]
515515
if: "github.event_name == 'push'
516516
&& startsWith(github.event.ref, 'refs/tags/')
517517
&& !startsWith(github.event.ref, 'refs/tags/sbt-dotty-')"
@@ -645,7 +645,7 @@ jobs:
645645
- ${{ github.workspace }}/../../cache/sbt:/root/.sbt
646646
- ${{ github.workspace }}/../../cache/ivy:/root/.ivy2/cache
647647
- ${{ github.workspace }}/../../cache/general:/root/.cache
648-
needs: [community_build_a, community_build_b, community_build_c, test_sbt]
648+
needs: [community_build_a, community_build_b, test_sbt]
649649
if: "github.event_name == 'push'
650650
&& startsWith(github.event.ref, 'refs/tags/sbt-dotty-')"
651651

0 commit comments

Comments
 (0)