-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Fix github actions failures. #3478
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
graalvmbot
merged 4 commits into
oracle:master
from
rschatz:rs/fix-github-actions-pylint
Jun 22, 2021
Merged
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
a66ac44
Github workflows should read pip packages and versions from common.json.
rschatz f8da81d
Do actual build in WITHOUT_VCS gate run.
rschatz cd9c956
Improve coverage of WITHOUT_VCS gate.
rschatz fc459f5
Add internal version of WITHOUT_VCS github gate.
rschatz File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will build a GraalVM release that contains the
/substratevmsuite.After running this,
$(mx --primary-suite-path ${PRIMARY} graalvm-home)contains a workingbin/native-imagebash-launcher.i.e. this looks good.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unfortunately this is not enough to test if things work outside a VCS repo, please see #3478 (comment) for more details.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since 6eee91e got merged almost all substrate-related mx commands (like e.g.
mx native-imageormx native-image-configure) are just calling artifacts that got built as part of runningmx buildin the substratevm directory. In other words ifmx build(ormx gate --tags build) succeeded you can safely assume thatmx native-image --helpalso works since its just calling the native-image bash launcher that is located at$(mx --primary-suite-path ${PRIMARY} graalvm-home)/bin/native-imageaftermx buildmade sure it got created there.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess we could also do this:
It's not literally building everything, but it would exercise almost every different category of stuff there is to build (e.g. Java projects, native projects, a native-image launcher, ...).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see, I admit I didn't check the latest state of
mx_substratevm.py, my mistake. Thanks for making this clear Paul.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yup that would give pretty good coverage.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done, and seems to be working (at least on github, still waiting for the internal gate to finish).