Commit Graph

74 Commits

Author SHA1 Message Date
Guillaume Nodet
d200409a8c Fix early access builds 2023-05-17 13:23:12 +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
Petr Široký
b0b7115344 Make the default (non-native) build work again (#808)
* Make the default (non-native) build work again

 * the renamed test is supposed to use the native binary, but it was
   being picked up by surefire, because of its name. For non-native builds
   (e.g. without -Pnative) the test would fail as the native
   binary does not exist

* Add GitHub job for for default (non-native) build
2023-03-12 23:07:51 +01:00
Guillaume Nodet
c1fd7e6679 Fix workflow 2023-03-09 13:24:07 +01:00
Guillaume Nodet
0f8b62dd22 Split m39 / m40 binaries during early access build 2023-03-09 13:22:30 +01:00
Guillaume Nodet
738d953812 Split m39 / m40 binaries 2023-03-09 13:20:30 +01:00
Guillaume Nodet
8e4d21047e Fix early access artifacts 2023-03-09 08:47:09 +01:00
Petr Široký
1f99fb8cb7 Run client connection handler inside new thread, fixes #798 (#801)
* Run client connection handler inside new thread, fixes #798
* Execute CI build on ubuntu-22.04
 * ubuntu-18.04 image is now deprecated and there are brownout periods
   being introduced where the builds are failing
 * see https://github.com/actions/runner-images/issues/6002 for more
   details
2023-03-07 14:16:04 +01:00
Guillaume Nodet
b97f585c09 Bump graalvm version used for early access builds (#794) 2023-02-16 09:10:23 +01:00
Guillaume Nodet
c61540edb6 Use graalvm 22.3.1 and use staging repo for release 2023-01-28 14:24:14 +01:00
Peter Palaga
5cd0f754d5 Publish the binaries produced by the Early Access job again 2023-01-17 15:57:30 +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
2b3b0decdf Upgrade to auto changelog 1.2 (#621) 2022-04-26 15:44:15 +02:00
Guillaume Nodet
22875857a8 Enable build test but disable release publishing 2022-04-26 13:36:34 +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
Guillaume Nodet
ea3ae57a0c Add missing headers 2022-01-21 09:33:24 +01:00
Lars K.W. Gohlke
716fc1a9cc introduce dependabot.yml (#563) 2022-01-07 15:35:25 +01:00
Guillaume Nodet
992c940868 Try to remove the custom setup for graalvm native-image on windows 2021-12-17 13:55:50 +01:00
Guillaume Nodet
1b17d8a322 Use setup-graalvm@5.0 2021-12-17 13:54:24 +01:00
Guillaume Nodet
f760a1da78 Upgrade to GraalVM 21.3.0 and JDK 17 (#506)
* Upgrade to GraalVM 21.3.0 and JDK 17
* Upgrade groovy
* Upgrade quarkus version
2021-10-20 12:21:01 +02:00
Guillaume Nodet
90c4163a56 Switch default to jdk 16 2021-08-31 08:44:54 +02:00
Guillaume Nodet
26adc5e89e Use latest version of auto-changelog-action 2021-07-20 13:18:38 +02:00
Guillaume Nodet
65ce1448dd Check jdk16 2021-06-15 12:54:26 +02:00
Peter Palaga
ee3ae04871 Upgrade to charmixer/auto-changelog-action@v1.2 2021-03-10 08:58:04 +01:00
Guillaume Nodet
2a1272e0f1 Only upload log files 2021-01-05 23:16:15 +01:00
Guillaume Nodet
ab408f54e6 Upload test results correctly 2021-01-05 22:40:02 +01:00
Peter Palaga
cf055b3e14 Upgrade to GraalVM 20.3.0 2020-11-18 10:59:35 +00:00
Guillaume Nodet
ac0e755823 Use more recent version of DeLaGuardo/setup-graalvm action 2020-11-17 08:29:38 +01:00
Peter Palaga
bd34f1897e Auto-update Homebrew tap from the release pipeline 2020-10-25 22:15:20 +01:00