Commit Graph

34 Commits

Author SHA1 Message Date
dependabot[bot]
df9538f75e Bump actions/download-artifact from 4 to 5
Some checks failed
Early Access / Default build (without GraalVM) (push) Has been cancelled
Early Access / Build with GraalVM on macos-13 (push) Has been cancelled
Early Access / Build with GraalVM on macos-latest (push) Has been cancelled
Early Access / Build with GraalVM on ubuntu-latest (push) Has been cancelled
Early Access / Build with GraalVM on windows-latest (push) Has been cancelled
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 4 to 5.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-21 23:43:44 +02:00
dependabot[bot]
1fb142db88 Bump actions/checkout from 4 to 5
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5.
- [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/v4...v5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-21 23:43:11 +02:00
Tamas Cservenak
0d11bf8730 [1.x] Fix win terminal (#1040)
Fixing terminal on Windows.

changes:
* added missing jline-native to dist
* up GraalVM to 22
* introduce `--diag` on client
* up SVM version, cleanup of GraalVM params

Fixes #1032
2024-06-20 14:18:09 +02:00
Tamas Cservenak
47bdce9a98 Fix release workflow, part2 (#1023) 2024-06-14 14:42:04 +02:00
Tamas Cservenak
2fc06bfd05 Fix the release.yaml workflow (#1022)
Prevent conflicts among uploaded artifacts.
2024-06-14 14:20:53 +02:00
Tamas Cservenak
69b301eba3 More script changes (#1020)
Changes:
* `release-build.sh`: Just do not push. This allows one to locally verify the outcome, and push (for now manually like `git push origin mvnd-1.x --tags`). Added reminder message.
* `release.yaml`: whenever mvn would resolve deps, make sure release settings XML is present. It does not stir anything if Maven is in Central, but as in this moment, maven is still staged only.
2024-06-14 12:45:30 +02:00
Tamas Cservenak
359cfeff10 Release binaries: linux amd64, macos amd64, macos aarch64, windows amd64 (#1016)
GH Action and related changes to finally cover all targeted OS/platforms with native binary.

Changes:
* no source change
* POM change: using released Maven 3.9.8 (and added access to staged Maven 3.9.8)
* Provide 4 plaf binaries: linux amd64, windows amd64, mac amd64 and mac aarch64
* adopt GH workflows for these changes (using "OS" alone is not enough)
* adopt generally GraalVM naming and use them consecutively
2024-06-13 17:05:00 +02:00
Guillaume Nodet
76c3cb57cc Switch back to support only Maven 3.9.x 2024-04-23 21:48:29 +02:00
Tamas Cservenak
8bb26402c1 Cumulative update of GH flow (#950)
Changes:
* Cumulative update of GH flow
* Graal update
* Add concurrency
* Add -V to see what maven is used
* Use same Java version for def build
* Apply @gzm55 advice
2024-04-19 15:23:45 +02:00
Guillaume Nodet
2cd9eafef6 Use macos-11 OS for CI 2023-05-17 10:07:57 +02:00
James Z.M. Gao
99a5cfba7f native image: hardening csu for old glibc (#827)
Workround of return-to-csu problem for old glibc, use non-initialized
static variables instead of the stack ones. See workround 2 of
https://i.blackhat.com/briefings/asia/2018/asia-18-Marco-return-to-csu-a-new-method-to-bypass-the-64-bit-Linux-ASLR-wp.pdf
2023-04-06 10:57:51 +02:00
James Z.M. Gao
da20df03cd Make native mvnd only require glibc 2.12 on ubuntu 22.04 (#825, fixes #823)
The modern glibc from 2.34 had two breaking changes: move all api in lib{pthread,dl,rt}.so into libc.so, new static start up code breaking the runtime compatibility for old glibc (<2.34). See https://developers.redhat.com/articles/2021/12/17/why-glibc-234-removed-libpthread for more info.

This commit has 3 changes to overcome these changes:
- override gcc path to redefine glibc symbols on the fly in the generated .o by graalvm when linking
- provide a dynamic startup code to support both old and modern runtime glibc
- add needed dynamic libraries: lib{pthread,rt,dl}.so.
2023-03-23 09:02:38 +01:00
Guillaume Nodet
76f8139281 Rename maven-${version}-mvnd-mvn(39|40)-yyy to maven-mvnd-${version}-m(39|40)-yyy and fix release workflow 2023-03-23 08:20:54 +01:00
Guillaume Nodet
95aeff2f7b Fix release script 2023-03-22 09:25:52 +01:00
Petr Široký
a59c7cd51c Build on ubuntu:20.04, fixes #812 (#814)
* building on ubuntu:22.04 produces binaries which require too recent glibc
   version (2.32+) and that means the binary no longer works on
   older ubuntu versions, like 20.04 and 18.04.

 * building on ubuntu:20.04 fixes the problem and the binary again works
   on ubuntu 18.04 and 20.04

 * also bumped the version in the release workflow which got forgotten
2023-03-15 18:08:50 +01:00
Petr Široký
10a87b48de Bump GitHub actions version
* currently used versions are deprecated and GitHub is printing
   warnings on the actions page, e.g.
   "Node.js 12 actions are deprecated.
   Please update the following actions to use Node.js 16: actions/checkout@v2,
   actions/upload-artifact@v2."
2023-03-14 11:09:13 +01:00
Guillaume Nodet
c61540edb6 Use graalvm 22.3.1 and use staging repo for release 2023-01-28 14:24:14 +01:00
James Z.M. Gao
1249211b49 Build mostly static native image, loose linux glibc requirement to 2.12 (#730) 2022-12-13 23:01:31 +01:00
Guillaume Nodet
c3c8ce1b3b Switch graalvm to 22.3.0 2022-11-23 10:16:36 +01:00
Guillaume Nodet
2f4ff6334a Upload tar.gz along with zip during release 2022-10-04 08:30:35 +02:00
Konrad Windszus
874e26cfe8 Update GraalVM to 22.2.0 (#689)
* Update GraalVM to 22.2.0

* Upgrade graalvm to 22.2.0 and the maven plugin to its latest version

Co-authored-by: Guillaume Nodet <gnodet@gmail.com>
2022-09-20 10:10:22 +02:00
Guillaume Nodet
5dce72ef33 Add tar.gz binaries in the release (#692) 2022-09-20 10:09:02 +02:00
Hervé Boutemy
0092136cea configure execution bit for required scripts in source distribution (#643) 2022-05-11 11:37:21 +02:00
Guillaume Nodet
50bfcf8c15 Use maven-mvnd as a distribution name (#638) 2022-05-04 12:02:10 +02:00
Guillaume Nodet
3877b9dce8 Move back the sha256 computation on the client side 2022-04-29 16:49:14 +02:00
Guillaume Nodet
98d71fa3d7 Put back sha256 computation 2022-04-29 16:23:53 +02:00
Guillaume Nodet
c95c523692 Revert to a working state 2022-04-27 22:05:22 +02:00
Guillaume Nodet
b90fbf1f3e Reapply Refactor build and release workflows #574 (#620) 2022-04-26 13:20:45 +02:00
Guillaume Nodet
e8e5ffc4ee Revert 8ae4f16 and subsequent fix attempts 2022-04-11 15:00:17 +02:00
Guillaume Nodet
f8b665e41a Fix CI 2022-04-11 14:13:38 +02:00
Guillaume Nodet
1254ad6f71 Fix CI 2022-04-11 14:08:18 +02:00
Guillaume Nodet
96ac5cd60b Another attempt to fix CI 2022-04-11 13:56:05 +02:00
Guillaume Nodet
b60af6156b Fix CI 2022-04-11 13:44:53 +02:00
Andres Almiray
8ae4f16523 Refactor build and release workflows (#574)
* Refactor early-access builds with JReleaser

* Add brew and sdkman to release configuration

* Tweak changelog generation

* Do not trigger verify workflow when changelog is updated

* Add release workflows

* Exclude template files from license check

* configure access tokens for Homebrew and Sdkman

* Fix Graal settings in workflows

* setup-graalvm takes care of adjusting the environment on Windows

* Fix workflow configuration

* Uncoment sdkman settings in workflow

* Remove explicit JReleaser build from workflows

* Configure SCM urls

* Update to JReleaser 1.0.0-M1

* Update to JReleaser 1.0.0-RC2

* Update to JReleaser 1.0.0
2022-04-11 13:28:08 +02:00