aboutsummaryrefslogtreecommitdiffstats
path: root/.github
Commit message (Collapse)AuthorAgeFilesLines
* CI build: add Temurin JDK 22Alexander Kriegisch2024-03-231-2/+2
| | | | Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
* Add 'AspectJ_JDK_Update' hint in various placesAlexander Kriegisch2024-02-191-0/+1
| | | | | | | | | | | | | | | | | | | | The hint is meant to help AspectJ developers identify the places where there are to-dos for releases supporting new Java versions. This is work in progress, new tags can be added wherever necessary in the future. But for now, the most important places should be covered: - AJC version string - Test infrastructure (test suites, classes and XML files) - BCEL class file version MAJOR_*, MINOR_* constants - AjcTask constants for compiler source, target, release - LangUtil::is*VMOrGreater methods - ASM and JDT Core dependency versions - CI workflow file - Release notes The to-do to check the tagged places is also mentioned in RELEASE.md. Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
* Suppress Maven download messages in CI buildAlexander Kriegisch2024-02-191-3/+6
| | | | | | | by SLF4J system property, see https://blogs.itemis.com/en/in-a-nutshell-removing-artifact-messages-from-maven-log-output Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
* Bulk update GitHub actionsAlexander Kriegisch2024-02-071-13/+9
| | | | | | | coactions/setup-xvfb no longer seems to be necessary, because XVFB is now pre-installed on Linux. Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
* Attach installer to CI buildAlexander Kriegisch2024-01-071-0/+9
| | | | Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
* CI build: fix "create docs" stepAlexander Kriegisch2024-01-061-1/+1
| | | | | | | | Like the javadocs in aspectjrt and aspectjweaver (if the releas profile is active), for docs also copy the docs in the package phase to the aj-dist directory. Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
* Switch CI build to Temurin JDK 21 final (from EA)Alexander Kriegisch2023-11-011-1/+1
| | | | Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
* CI build: remove JDK 11 build, switch 21 to 21-eaAlexander Kriegisch2023-09-271-1/+1
| | | | | | | | | | | Background: JDT Core dependencies now contain hundreds of Java 17 class files, i.e. Ajc now requires Java 17+ runtime environment. :-( For more details, see: https://github.com/eclipse-aspectj/aspectj/issues/260#issuecomment-1736540176 Adoptium Java 21 release is not available yet, so we need to run on EA. Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
* Upgrade CI build to JDK 21Alexander Kriegisch2023-09-261-1/+1
| | | | Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
* Switch CI build to coactions/setup-xvfbAlexander Kriegisch2023-06-241-1/+1
| | | | | | | | | | | | GabrielBB/xvfb-action is no longer maintained and points to coactions/setup-xvfb. The switch should eliminate this warning in CI builds: Node.js 12 actions are deprecated. Please update the following actions to use Node.js 16: GabrielBB/xvfb-action@v1.6. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/. Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
* Build on JDK 11, 17, 20 (remove 19)Alexander Kriegisch2023-06-241-1/+1
| | | | Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
* Temporarily build both Java 19 and 20 on GitHubAlexander Kriegisch2023-06-241-1/+1
| | | | | | | | | | | Let's find out if the tests still pass - on Java 19, except for J19 preview features, - on Java 20, also except for J19 with changed syntax. TODO: After having added Java 20 preview feature tests, remove J19 build. Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
* GitHub CI build: upgrade GabrielBB/xvfb-action to 1.6Alexander Kriegisch2023-01-041-1/+1
| | | | | | | | | | | | CI builds started showing warnings as follows: Node.js 12 actions are deprecated. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/. Please update the following actions to use Node.js 16: GabrielBB/xvfb-action@v1 Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
* Add the first few Java 19 testsAlexander Kriegisch2022-10-031-1/+1
| | | | | | | | | | For now, only the "pattern matching for switch" tests from previews 1 and 2 were adjusted to work in preview 3, because guarded patterns were replaced by 'when' clauses in 'switch' blocks. Therefore, existing test classes did not compile anymore and had to be replaced by syntactically upgraded versions with content merged from preview 1 and 2 classes. Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
* CI build: upgrade from Java 18-EA to 18Alexander Kriegisch2022-07-031-2/+2
| | | | Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
* CI build: attach main artifacts to buildAlexander Kriegisch2022-04-021-0/+27
| | | | | | Relates to #150. Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
* CI build: create docs and attach them to buildAlexander Kriegisch2022-04-021-1/+12
| | | | | | | | | | In order to create the docs separately, running just a single module, add 'install' to the previous build step, so the 'docs' module can find the 'lib' dummy JAR in the local Maven repo. Relates to #150. Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
* CI build: use Maven cacheAlexander Kriegisch2022-04-021-0/+12
| | | | | | Relates to #150. Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
* Add TODO to maven.yml for switch to JDK 18 finalAlexander Kriegisch2022-03-231-0/+1
| | | | | | | TODO: switch from 18-ea to 18, as soon as Temurin offers the download on https://adoptium.net/releases.html. Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
* Prepare code, tests and docs for Java 18Alexander Kriegisch2022-03-211-1/+1
| | | | | | | | | | | | | | | | | | | | - JDT Core dependency in pom.xml - Constants.java - LangUtil.java - AjcTask.java - messages_aspectj.properties - XMLBasedAjcTestCaseForJava17Only.java - XMLBasedAjcTestCaseForJava18*.java - tests/bugs199 - tests/features199 - JavaVersionCompatibility.md - README-199.html - GitHub CI build Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
* Bump actions/checkout from 2 to 3Alexander Kriegisch2022-03-071-1/+1
| | | | | | | | | | | | | | | Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v2...v3) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
* Bump actions/setup-java from 1 to 3, use Temurin, drop Java 14Alexander Kriegisch2022-03-071-2/+3
| | | | | | | | | | | | | | | | | | Adopt OpenJDK moved to Eclipse Temurin and is no longer updated. Temurin builds for JDK 14 are however not available. Therefore, we drop the JDK 14 CI build. Bumps [actions/setup-java](https://github.com/actions/setup-java) from 1 to 3. - [Release notes](https://github.com/actions/setup-java/releases) - [Commits](https://github.com/actions/setup-java/compare/v1...v3) --- updated-dependencies: - dependency-name: actions/setup-java - dependency-type: direct:production - update-type: version-update:semver-major Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
* No automatic builds for Dependabot PRsAlexander Kriegisch2022-03-071-1/+7
| | | | | | | | | Otherwise, Dependabot would run builds whenever something is pushed on master and it rebases its PR. It is still possible to just click on the skipped workflow in the PR and then issue "re-run all jobs" in order to perform a build. Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
* Add GitHub DependabotAlexander Kriegisch2022-03-071-0/+10
| | | | | | | | | | It will create PRs for Maven and GitHub action updates. Of course, we cannot simply merge the PRs, because Dependabot has not singed an Eclipse CLA, but at least we know about updates and how they affect the build result. Then we can decide to clone the changes and commit them manually. Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
* Remove Java 8 from GitHub workflow (ECJ needs Java 11+)Alexander Kriegisch2021-10-081-1/+1
| | | | | | | | | | | | | | Since JDT Core 3.27 (Java 17) and Eclipse 2021-09 (4.21), respectively, ECJ no longer works on JDK 8. Even if we backport JDT Core classes, some of its dependencies contain Java 11 class files, which ultimately also means that ACJ no longer works below JDK 11 due to those transitive dependencies, e.g. org.eclipse.core.resources-3.14.0.jar. For now, I added JDK 14 to the build matrix, i.e. we currently have 11, 14, 17. When JDK 18 is released, we can switch to 11, 17, 18, i.e. keep the two LTS releases plus the latest one. Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
* Bump GitHub CI build from JDK 17-ea to 17, remove 16Alexander Kriegisch2021-10-021-1/+1
| | | | Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
* Activate Java 17 build in GitHub workflowAlexander Kriegisch2021-09-071-1/+1
| | | | Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
* Remove obsolete .mvn/settings-read-github-packages.xmlAlexander Kriegisch2021-05-151-2/+2
| | | | | | | The GitHub workflow also does not reference it anymore, which I forgot to do earlier. Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
* Remove obsolete separate GitHub build step for provisioning librariesAlexander Kriegisch2021-05-051-3/+0
| | | | Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
* Switch from 'libx' to 'lib', delete all obsolete binariesAlexander Kriegisch2021-04-101-1/+1
| | | | | | | | | | | | | | | | | | | | Because 'cd lib && mvn compile' can now download and (un)zip many previously SCM-committed third-party dependencies, the following 'lib' subdirectories have been deleted: - ant - asm - commons - jarjar - junit - regexp - saxon This one is new (but not stored in SCM): - jdtcore-aj For each of them, there now is a .gitignore entry, so as to prevent developers from accidentally committing the downloaded binaries again. Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
* Use special Maven settings with access token to GitHub PackagesAlexander Kriegisch2021-04-091-3/+3
| | | | | | | | | | | | | The access token is for the 'kriegaex' account. Can be adjusted or extended in order to support other Package registries, too. for now, I just want to see it this solves the authentication error problems during GitHub CI builds. The new file .mvn/settings-read-github-packages.xml contains additional information and links to online sources, explaining why this is necessary. Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
* CI test still failing, try 'mvn -U' in order to refreshAlexander Kriegisch2021-04-091-2/+2
| | | | Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
* Enable CI build to be run manually and add download libs stepAlexander Kriegisch2021-04-091-1/+5
| | | | | | | | | | | Via 'workflow_dispatch' users with the necessary access rights can now run the GitHub Actions workflow from the web UI. Still in testing stage in redundant module 'libx', prepare for the future situation that currently committed binaries in 'lib' shall be replaced by downloaded ones. Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
* Try to avoid 'HeadlessException: No X11 DISPLAY' on GitHub ActionsAlexander Kriegisch2021-03-241-1/+5
| | | | | | | | | | | | | | | | We have 84 times this kind of exceptions in 'ajde' tests in our build logs on GitHub, even though the tests seem to pass: HeadlessException: No X11 DISPLAY variable was set, but this program performed an operation which requires it. I found this discussion: https://github.com/juliangruber/browser-run/issues/147 And then this GitHub Action: https://github.com/marketplace/actions/gabrielbb-xvfb-action Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
* Upgrade GitHub CI workflow from Java (8, 11, 15) to (8, 11, 16)Alexander Kriegisch2021-03-211-1/+1
| | | | Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
* Update GitHub Action from Java 14 to 15Lars Grefer2020-09-201-1/+1
| | | | Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
* Split tests in a separate step on GitHub ActionsLars Grefer2020-08-171-10/+18
| | | | Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
* Use the Maven Wrapper for GitHub ActionsLars Grefer2020-08-151-2/+2
| | | | Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
* Test on LTS versions and most recent non LTSAndy Clement2020-08-141-2/+2
|
* Merge branch 'feature/simplify-ajdoc' of github.com:larsgrefer/org.aspectj ↵Lars Grefer2020-08-141-1/+1
|\ | | | | | | | | | | into feature/github-actions Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
| * Trying to reduce test verbosityAndy Clement2020-08-131-1/+1
| |
* | Test more Java versionsLars Grefer2020-08-131-1/+2
| | | | | | | | Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
* | Print used tool versionsLars Grefer2020-08-131-0/+2
|/ | | | Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
* Create maven.ymlLars Grefer2020-08-131-0/+26
Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>