Skip to content
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

GitHub action to run builds #706

Merged
merged 1 commit into from Mar 13, 2023

Conversation

mickaelistria
Copy link
Contributor

No description provided.

@eclipse-lsp4j-bot
Copy link

Can one of the admins verify this patch?

Copy link
Contributor

@jonahgraham jonahgraham left a comment

Choose a reason for hiding this comment

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

Thanks @mickaelistria for starting this off. If you or others are interested in getting this complete here are my thoughts:

Perhaps you can show these working on your fork so that we can test the changes before we merge the PR?

There are also some additional steps that need to be done to check the PR, you can see current PR configuration in https://ci.eclipse.org/lsp4j/job/lsp4j-github-pullrequests/configure

Specifically needs:

  • gradle publish and flags -PignoreTestFailures=true --refresh-dependencies --continue
  • mvn -f releng/pom.xml --batch-mode --update-snapshots clean install
  • collecting and reporting test results

- name: Set up JDK 17 ☕
uses: actions/setup-java@v3
with:
java-version: 17
Copy link
Contributor

Choose a reason for hiding this comment

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

Java version should match what project uses, or at least a Java 8 (or 11, depending on state of #707) needs to be available too IIUC.

- main
push:
branches:
- main
Copy link
Contributor

Choose a reason for hiding this comment

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

Why limit the branches? I have seen projects do both. We initially did for CDT, but every release I have to keep adding new branches to this list.

@jonahgraham jonahgraham mentioned this pull request Mar 13, 2023
@mickaelistria
Copy link
Contributor Author

gradle publish and flags -PignoreTestFailures=true --refresh-dependencies --continue
mvn -f releng/pom.xml --batch-mode --update-snapshots clean install
collecting and reporting test results

For the moment, just a build that answers yes/no is most of what I can offer. I'm not familiar with Gradle and so on to do more. Also if I'm not mistaken, isn't the mvn only intended to do p2 stuff?

@cdietrich
Copy link
Contributor

yes mvn just builds the p2 repo. gradle puts test results to https://github.com/eclipse/lsp4j/blob/4bad511eb9471bef9aafc9ad8e7d9c55b6747a25/releng/build.Jenkinsfile#L84

@cdietrich cdietrich added this to the 0.21.0 milestone Mar 13, 2023
@jonahgraham
Copy link
Contributor

Lets go with this for now, people can add to it as needed later.

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

Successfully merging this pull request may close these issues.

None yet

4 participants