Skip to content

Commit e036499

Browse files
committed
chore: drop testing with Java 8
1 parent 4c8e490 commit e036499

File tree

1 file changed

+1
-61
lines changed

1 file changed

+1
-61
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 61 deletions
Original file line numberDiff line numberDiff line change
@@ -499,66 +499,6 @@ jobs:
499499
- name: Test sbt
500500
run: ./project/scripts/sbt "sbt-test/scripted; sbt-community-build/scripted"
501501

502-
test_java8:
503-
runs-on: [self-hosted, Linux]
504-
container:
505-
image: lampepfl/dotty:2024-10-18
506-
options: --cpu-shares 4096
507-
volumes:
508-
- ${{ github.workspace }}/../../cache/sbt:/root/.sbt
509-
- ${{ github.workspace }}/../../cache/ivy:/root/.ivy2/cache
510-
- ${{ github.workspace }}/../../cache/general:/root/.cache
511-
512-
if: "github.event_name == 'schedule' && github.repository == 'scala/scala3'
513-
|| (
514-
github.event_name == 'push'
515-
&& startsWith(github.event.ref, 'refs/tags/')
516-
)
517-
|| (
518-
github.event_name == 'pull_request'
519-
&& !contains(github.event.pull_request.body, '[skip ci]')
520-
&& contains(github.event.pull_request.body, '[test_java8]')
521-
)
522-
|| (
523-
github.event_name == 'workflow_dispatch'
524-
&& github.repository == 'scala/scala3'
525-
)"
526-
527-
steps:
528-
####################################################################################
529-
## WARNING: DO NOT CHANGE THE JAVA VERSION HERE. THIS TEST IS SPECIFIC FOR JAVA 8 ##
530-
####################################################################################
531-
- name: Set JDK 8 as default
532-
run: echo "/usr/lib/jvm/java-8-openjdk-amd64/bin" >> $GITHUB_PATH
533-
534-
- name: Reset existing repo
535-
run: |
536-
git config --global --add safe.directory $GITHUB_WORKSPACE
537-
git -c "http.https://github.com/.extraheader=" fetch --recurse-submodules=no "https://github.com/scala/scala3" && git reset --hard FETCH_HEAD || true
538-
539-
- name: Checkout cleanup script
540-
uses: actions/checkout@v5
541-
542-
- name: Cleanup
543-
run: .github/workflows/cleanup.sh
544-
545-
- name: Git Checkout
546-
uses: actions/checkout@v5
547-
548-
- name: Add SBT proxy repositories
549-
run: cp -vf .github/workflows/repositories /root/.sbt/ ; true
550-
551-
- name: Test
552-
run: |
553-
./project/scripts/buildScalaBinary
554-
./project/scripts/sbt ";scala3-bootstrapped/compile ;scala3-bootstrapped/test ;sbt-test/scripted scala2-compat/*"
555-
./project/scripts/cmdTests
556-
./project/scripts/bootstrappedOnlyCmdTests
557-
558-
- name: Scala.js Test
559-
run: |
560-
./project/scripts/sbt ";sjsSandbox/run ;sjsSandbox/test ;sjsJUnitTests/test ;set sjsJUnitTests/scalaJSLinkerConfig ~= switchToESModules ;sjsJUnitTests/test ;sjsCompilerTests/test"
561-
562502
publish_release:
563503
permissions:
564504
contents: write # for GH CLI to create a release
@@ -570,7 +510,7 @@ jobs:
570510
- ${{ github.workspace }}/../../cache/sbt:/root/.sbt
571511
- ${{ github.workspace }}/../../cache/ivy:/root/.ivy2/cache
572512
- ${{ github.workspace }}/../../cache/general:/root/.cache
573-
needs: [test_non_bootstrapped, test, mima, community_build_a, community_build_b, community_build_c, test_sbt, test_java8, build-sdk-package, build-msi-package]
513+
needs: [test_non_bootstrapped, test, mima, community_build_a, community_build_b, community_build_c, test_sbt, build-sdk-package, build-msi-package]
574514
if: "github.event_name == 'push'
575515
&& startsWith(github.event.ref, 'refs/tags/')"
576516

0 commit comments

Comments
 (0)