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

add GitHub Actions workflow to verify builds and pull requests #166

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Okeanos
Copy link

@Okeanos Okeanos commented Oct 15, 2022

This is a pipeline example for using GitHub Actions workflows to verify builds and PRs.

It's based on a matrix build for all Temurin LTS versions currently available. Some modifications to the pom.xml were necessary:

  • update the compiler plugin
  • add two additional auto-activated profiles that set the expected compiler options for source/target and release respectively

I tried building a secondary job for JDK 1.6, however, couldn't find a URL to an OpenJDK 1.6 version. I am wondering how they do that over at org.json:json with their pipeline?!

@Okeanos Okeanos force-pushed the master branch 12 times, most recently from 2b7556a to 4fb1cb8 Compare October 16, 2022 12:50
@Okeanos
Copy link
Author

Okeanos commented Oct 16, 2022

Okay, Azul offers Zulu OpenJDK that includes Java 6 – I updated the pipeline definition to include it. Took a while to make it work. This can probably be simplified by someone smarter than me.

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.

1 participant