Skip to content

add basic windows job settings #9934

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

Merged
merged 3 commits into from
Oct 9, 2020

Conversation

liufengyun
Copy link
Contributor

@liufengyun liufengyun commented Oct 2, 2020

add basic windows job settings

Currently, Github actions only support Linux containers.
Instead of create project/scripts/sbt.bat, we update .jvmopts.
-J-X options are not supported on windows:

sbt/sbt#5179
@liufengyun liufengyun force-pushed the windows-ci branch 3 times, most recently from 794129d to 6191212 Compare October 8, 2020 15:58
@liufengyun liufengyun marked this pull request as ready for review October 8, 2020 17:36
@anatoliykmetyuk anatoliykmetyuk merged commit d04d684 into scala:master Oct 9, 2020
@anatoliykmetyuk anatoliykmetyuk deleted the windows-ci branch October 9, 2020 08:30

# - name: Scala.js Test
# run: sbt ";sjsJUnitTests/test"
# shell: cmd
Copy link
Member

Choose a reason for hiding this comment

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

Why is that disabled?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It causes a failure: https://github.com/lampepfl/dotty/runs/1225047885?check_suite_focus=true

Do you see clue from the message?

Copy link
Member

Choose a reason for hiding this comment

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

Yeah ^^

Caused by: java.io.IOException: Cannot run program "node": CreateProcess error=2, The system cannot find the file specified

We need to install Node.js ;)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Cool, thanks. I'm making a PR to enable it.

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.

3 participants