Commit graph

89 commits

Author SHA1 Message Date
Michiel Borkent
a9cc6e301e Bump to GraalVM 21.3.0 JVM 11 2021-11-04 11:01:41 +01:00
Thiago Kenji Okada
9ca3a3bd31
Use Debian bullseye on CI/CD/Dockerfile (#1005)
* Migrate `Dockerfile` to use a bullseye-based image

Also, some QoL changes on the `Dockerfile`:
- Parametrize GRAALVM_VERSION to make it easier to update
- Remove installing programs already included on base image
- Remove `deps.edn` from `.dockerignore` since it is necessary to build

* 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)

* Remove lsof

* Remove "Install {Clojure,Leiningen}" steps

Already included on the base image.

* Do not change directory when downloading GraalVM

* Move "Download GraalVM" to script/download-graalvm

* Set GRAALVM_HOME correctly

* Unbreak mac build

* Revert "Set GRAALVM_HOME correctly"

This reverts commit 5e2a6158dc.

* Set GRAALVM_HOME correctly, take 2

* Improve download-graalvm script

* Re-added "Install Clojure" steps

* Set amd64 as default GRAALVM_ARCH

* Unbreak linux-aarch64

* Ubreak jvm

* Do not change directory

* Fix yaml

* Fix mac/linux-aarch64

* Add missing Clojure

* Fix cache

* Move GraalVM installation to /tmp

* Use script/install-clojure

* Use /opt instead of /tmp to install GraalVM

* Revert "Use /opt instead of /tmp to install GraalVM"

This reverts commit 3cfad03c8e.

* Use CircleCI's Clojure images again

* Go back to installing GraalVM on $HOME
2021-09-13 23:28:13 +02: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
Michiel Borkent
cbe1210e62 [#695] Only build static image on non-SNAPSHOTs 2021-01-03 10:56:21 +01:00
Michiel Borkent
f4478769df [#695] Only build static image on non-SNAPSHOTs 2021-01-03 10:48:03 +01:00
Rahul De
6b6493c4d8
[#696] Use released zip as binary source 2021-01-02 17:43:33 +01:00
Rahul De
1f49e71964
[#696] Copy linux bin correctly into docker 2021-01-02 17:13:38 +01:00
Rahuλ Dé
922de495e1
[#696] Reuse linux binaries for docker builds
* Reuse linux binary in docker build

* Have a dedicated Dockerfile for CI

* Reuse linux binary in GH Actions

* Make docker action depend only on linux

* Run Actions only on master
2021-01-02 16:00:28 +01:00
Michiel Borkent
e309b49e1b Rename 2021-01-01 11:26:31 +01:00
Michiel Borkent
9a80a47cfa
[#653] Upgrade to GraalVM 20.3.0 2020-12-05 20:56:12 +01:00
Michiel Borkent
bbe47904b0 CircleCI docker 2020-10-01 12:23:34 +02:00
Michiel Borkent
e531300bae Bump min macOS to 10.13 2020-09-22 13:13:45 +02:00
Michiel Borkent
cb2a719b09
Set macOS deployment target explicitly (10.11, El Capitan) (#588) 2020-09-22 12:36:53 +02:00
Michiel Borkent
f89da080c3
[#561] Add org.httpkit.client namespace
This also bumps GraalVM to 20.2.0 and XCode to version 12
2020-09-18 21:32:08 +02:00
Adam Hartley
3a06297e5c
Bump to Xcode 9.4.1 (#572) 2020-09-11 22:47:40 +02:00
Michiel Borkent
ee8508d320
Merge testing of libs into one babashka process (#485) 2020-06-17 13:30:22 +02:00
Michiel Borkent
c3f9480efe
[#449] move to GraalVM 20.1.0 java11 2020-05-23 14:53:28 +02:00
Sameer Kolhar
1961875c28
Update to GraalVM v19.3.2 (#442) 2020-05-20 22:04:41 +02:00
Sameer Kolhar
a28618387b
[#388] embedded postgresql tests 2020-05-18 17:08:34 +02:00
Michiel Borkent
ab008870b8
[#389] XML feature flag (#390) 2020-04-28 12:03:01 +02:00
Michiel Borkent
6116b34b74 rm postgres test in circleci 2020-04-27 11:47:45 +02:00
Michiel Borkent
88eb4c569d Add postgres test 2020-04-27 11:45:11 +02:00