Skip to content

CI: test JDK 17, not 16 anymore #13629

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed

CI: test JDK 17, not 16 anymore #13629

wants to merge 1 commit into from

Conversation

SethTisue
Copy link
Member

No description provided.

Comment on lines +49 to +50
- name: Set JDK 17 as default
run: echo "/usr/lib/jvm/java-17-openjdk-amd64/bin" >> $GITHUB_PATH
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Merely updating the path here is not sufficient to use JDK 17, since the custom Docker image used by the self-hosted CI runners only contains JDK 16 and JDK 8 (the default) at the moment.

It can be seen in the logs that JDK 8 is actually what was used for this PR run:

https://github.com/lampepfl/dotty/pull/13629/checks?check_run_id=3739562544#step:9:7

Run ./project/scripts/sbt ";scala3-bootstrapped/compile; scala3-bootstrapped/test;sjsSandbox/run;sjsSandbox/test;sjsJUnitTests/test;sjsCompilerTests/test ;sbt-test/scripted scala2-compat/* ;configureIDE ;stdlib-bootstrapped/test:run ;stdlib-bootstrapped-tasty-tests/test; scala3-compiler-bootstrapped/scala3CompilerCoursierTest:test"
[info] welcome to sbt 1.5.5 (Private Build Java 1.8.0_282)

The repo for the CI Docker image is https://github.com/lampepfl/dotty-ci

@SethTisue
Copy link
Member Author

okay, I'll just close this then and hope someone else volunteers :-)

@SethTisue SethTisue closed this Oct 5, 2021
@griggt
Copy link
Contributor

griggt commented Oct 5, 2021

The biggest holdup here is that someone with the proper credentials (e.g. Guillaume) would need to publish the new Docker image once it's updated in the dotty-ci repo.

@griggt griggt assigned griggt and unassigned griggt Oct 5, 2021
@griggt
Copy link
Contributor

griggt commented Oct 5, 2021

lampepfl/dotty-ci#19

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants