Commit graph

108 commits

Author SHA1 Message Date
Thiago Kenji Okada
3cfad03c8e Use /opt instead of /tmp to install GraalVM 2021-09-10 06:15:20 -03:00
Thiago Kenji Okada
873841c182 Use script/install-clojure 2021-09-10 05:57:21 -03:00
Thiago Kenji Okada
0ed3f61ec1 Move GraalVM installation to /tmp 2021-09-10 05:44:21 -03:00
Thiago Kenji Okada
1f45e0d478 Fix cache 2021-09-09 19:50:13 -03:00
Thiago Kenji Okada
4eb137894c Add missing Clojure 2021-09-09 19:40:24 -03:00
Thiago Kenji Okada
a435c365fc Fix mac/linux-aarch64 2021-09-09 19:39:23 -03:00
Thiago Kenji Okada
35946475d3 Fix yaml 2021-09-09 19:35:28 -03:00
Thiago Kenji Okada
3b05fed674 Do not change directory 2021-09-09 19:34:54 -03:00
Thiago Kenji Okada
3dcbd815dd Ubreak jvm 2021-09-09 19:33:20 -03:00
Thiago Kenji Okada
96870dba11 Unbreak linux-aarch64 2021-09-09 19:31:24 -03:00
Thiago Kenji Okada
fcc23b7908 Re-added "Install Clojure" steps 2021-09-09 19:21:16 -03:00
Thiago Kenji Okada
94fbf5977e Improve download-graalvm script 2021-09-09 19:18:15 -03:00
Thiago Kenji Okada
8df29c6188 Set GRAALVM_HOME correctly, take 2 2021-09-09 19:02:37 -03:00
Thiago Kenji Okada
a3bf35747d Revert "Set GRAALVM_HOME correctly"
This reverts commit 5e2a6158dc.
2021-09-09 19:01:26 -03:00
Thiago Kenji Okada
52e2a72813 Unbreak mac build 2021-09-09 18:58:46 -03:00
Thiago Kenji Okada
5e2a6158dc Set GRAALVM_HOME correctly 2021-09-09 18:57:15 -03:00
Thiago Kenji Okada
d4d4737048 Move "Download GraalVM" to script/download-graalvm 2021-09-09 18:55:01 -03:00
Thiago Kenji Okada
8248eeab8a Do not change directory when downloading GraalVM 2021-09-09 18:47:03 -03:00
Thiago Kenji Okada
e407762653 Remove "Install {Clojure,Leiningen}" steps
Already included on the base image.
2021-09-09 18:36:00 -03:00
Thiago Kenji Okada
4f869a2ab8 Remove lsof 2021-09-09 18:30:15 -03:00
Thiago Kenji Okada
cd5a832352 Migrate CircleCI to use a bullseye-based image
Also some modifications necessary to make it work:
- Migrate from `circleci` images to `clojure` since they're out-of-date
  and also seem to be considered legacy:
  https://circleci.com/docs/2.0/circleci-images/#legacy-language-images
- Remove unnecessary usage of `sudo`, since all commands runs as root
- Sync packages with `Dockerfile`. This will make easier to test locally
  if everything will work (of course, it is not 100% guarantee)
2021-09-09 18:20:40 -03:00
Michiel Borkent
cebdd19c00
Upgrade to GraalVM 21.2.0 2021-08-30 20:16:18 +02:00
Michiel Borkent
35103f40ef
Upgrade to graal 21.1, fixes #884 (#885) 2021-06-13 21:53:07 +02:00
Michiel Borkent
11b066ae70 Include binary size in msg 2021-05-13 12:13:02 +02:00
Michiel Borkent
c01700c9c7 Update release link 2021-05-13 12:10:37 +02:00
Michiel Borkent
c8e6e7ad4c Update release link 2021-05-13 12:02:01 +02:00
Thiago Kenji Okada
14e053e0a3
Add BABASHKA_MUSL build variable (#834)
This allows building a Babashka binary using musl C libraries instead,
instead of hardcoding this accordingly to the CPU arch.
2021-05-11 00:10:11 +02:00
Michiel Borkent
798ec2e3d4 musl 2021-05-10 23:03:39 +02:00
Michiel Borkent
34bbea0204
Move setup-musl to .circleci scripts (#833) 2021-05-10 22:46:32 +02:00
Michiel Borkent
6edc26c834
[#831] Workaround for musl stack size issues 2021-05-10 18:29:26 +02:00
Michiel Borkent
f4b9f8a59d Temporarily enable static build on master] 2021-05-09 23:48:30 +02:00
Thiago Kenji Okada
ddc900a656
Build BABASHKA_STATIC with musl C library (#828)
* Build BABASHKA_STATIC with musl C library

Based on https://github.com/babashka/pod-babashka-aws/pull/37.

This is the recommended way to build static binaries with GraalVM by the
documentation and multiple issues on GitHub. See:

- https://www.graalvm.org/reference-manual/native-image/StaticImages/
- oracle/graal#571 (comment)

The reason that building a statically binary with glibc is complicated
is explained in the glib documentation:

https://sourceware.org/glibc/wiki/FAQ#Even_statically_linked_programs_need_some_shared_libraries_which_is_not_acceptable_for_me.__What_can_I_do.3F

* Bring back zlib1g-dev

Seems it is necessary for the non-static build.
2021-05-09 23:30:27 +02:00
Michiel Borkent
24c4c62ae3 Use correct branch on appveyor 2021-04-21 13:46:47 +02:00
Michiel Borkent
c39fc76702
Automatically upload artifacts to Github release 2021-04-21 00:10:59 +02:00
Michiel Borkent
da27843544 shortcut static aarch build 2021-04-11 21:37:12 +02:00
Michiel Borkent
b16de694b9 Fix Docker 2021-04-10 17:22:44 +02:00
Michiel Borkent
53bd7cd0c0 [#782] rename 2021-04-09 17:40:01 +02:00
Michiel Borkent
322b30ad6f [#782] fix 2021-04-09 17:02:44 +02:00
Michiel Borkent
8add2d90b2 [#782] fix 2021-04-09 16:59:20 +02:00
Michiel Borkent
d968b96082 [#782] linux arm64 static 2021-04-09 16:56:26 +02:00
Michiel Borkent
be96692739 Fix aarch64 on CircleCI 2021-03-15 23:03:38 +01:00
Michiel Borkent
126d2ff728 Fix release script 2021-03-15 17:21:17 +01:00
Michiel Borkent
6c8f9a1038 [#241] AArch64 linux binaries 2021-03-15 16:56:32 +01:00
Grazfather
38d18acd4d
Update install to support future tar.gz releases (#752)
* Update install to support future tar.gz releases

* CI: Release as .tar.gz instead of .zip
2021-03-12 10:16:39 +01:00
Michiel Borkent
77daea7362
[#712] Upgrade to GraalVM 21.0.0 (#725) 2021-02-07 12:23:20 +01:00
Rahul De
2314c82a1a
Revert "[#699] Test alpine builds"
This reverts commit f3deca41d7.
2021-01-03 15:57:30 +01:00
Rahul De
f3deca41d7
[#699] Test alpine builds 2021-01-03 15:47:00 +01:00
Rahul De
e05b6903ec
[#699] Remove redundant checks for snapshot, fix actions build 2021-01-03 14:53:52 +01:00
Rahul De
8b61d855a8
[#699] Build images only when non snapshot 2021-01-03 14:29:25 +01:00
Rahuλ Dé
7b1e9cbe62
[#699] Add alpine builds
* [#699] Add Dockerfile for alpine

* [#699] Add pod tests

* [#699] Add alpine image build

* [#699] Build images on CI

* [#699] Add actions

* [#699] Amend actions to the new flow
2021-01-03 14:18:34 +01:00