Rahuλ Dé
34136173d5
Add check for max glibc version ( #1458 )
...
* Add check for max glibc version
* checkout first
* tolerate subversions
* exit better
* rename ci gen script
2022-12-31 12:16:39 +01:00
Michiel Borkent
bc901fdcf0
Set java to GRAALVM
2022-11-11 15:31:35 +01:00
Michiel Borkent
a5dec07279
Build uberjar using graalvm
2022-11-11 15:14:02 +01:00
Michiel Borkent
bca3f28e28
Graalvm 22.3.0 ( #1408 )
2022-10-25 22:56:57 +02:00
Michiel Borkent
42f9440d85
last try
2022-08-02 23:19:59 +02:00
Michiel Borkent
a201788087
xcode
2022-08-02 23:16:46 +02:00
Michiel Borkent
f9327c04ca
bump xcode
2022-08-02 23:12:53 +02:00
Michiel Borkent
e58fe9db1b
Upgrade to GraalVM 22.2.0 ( #1325 )
2022-07-27 12:20:32 +02:00
Rahuλ Dé
e7c504b331
skip logo paths and in actions ( #1311 )
...
* skip logo paths and in actions
* [skip ci] Keep CI happy
2022-07-04 08:43:56 +02:00
Rahuλ Dé
512dbf9ea5
Optimise executors when shorted ( #1301 )
...
* Optimise executors when shorted
* Test short
* Also handle mac
* Test short
2022-06-21 15:32:23 +02:00
Rahuλ Dé
b5dea3563d
Pass correct arch ( #1300 )
...
* [wip] pass correct arch
* [wip] pass arch only when aarch64
* [skip ci] add branch filter back to docker
2022-06-20 22:20:50 +02:00
agata-anastazja
381b9f0a4f
use dynamic configuration to short CI ( #1294 )
2022-06-20 20:03:03 +02:00
Michiel Borkent
9698ddae61
cirrus
2022-06-07 21:37:25 +02:00
Rahuλ Dé
35b8204704
Use extracted CI short script ( #1284 )
...
* Use extracted CI short script
* Use clojure build env
* Update build script
2022-05-29 22:58:09 +02:00
agata-anastazja
94034063db
Skip CI run if commit only documentation changes ( #1282 )
2022-05-28 22:01:20 +02:00
Michiel Borkent
d9ff456e60
Re-enable mac on CircleCI ( #1263 )
2022-05-09 17:57:41 +02:00
Rahuλ Dé
5b455cd51b
Refine Actions ( #1261 )
2022-05-08 10:31:14 +02:00
Michiel Borkent
eee3b55f56
Try newer machines for aarch64
2022-05-06 16:51:59 +02:00
Michiel Borkent
fc7df082b7
Bump to newest graalvm ( #1250 )
2022-04-26 16:27:49 +02:00
Rahuλ Dé
d7f180cdbe
Bash -> Clojure: Take 2 ( #1243 )
...
* Bash -> Clojure: Take 2
* Apply better naming
* Temp disable circle branch filter
* Pass platforms correctly to buildx
* Rename platforms, better checks
* Add circle and script guards for branch and PR
* Fix guard
2022-04-15 19:20:52 +02:00
Michiel Borkent
d830e8f576
Revert "First pass at bash cleanup ( #1239 )"
...
This reverts commit b5a4e0a170 .
2022-04-15 13:27:29 +02:00
Rahuλ Dé
b5a4e0a170
First pass at bash cleanup ( #1239 )
2022-04-14 23:35:19 +02:00
Wes Morgan
e602286799
feat #863 : Load pods from bb.edn ( #1205 )
...
Co-authored-by: Michiel Borkent <michielborkent@gmail.com>
2022-03-23 17:08:59 +01:00
Michiel Borkent
b7461756bf
chore: Upgrade to GraalVM 22.0.0.2
2022-01-25 18:04:38 +01:00
Michiel Borkent
530177eefd
Fix docker 🙏
2022-01-25 15:46:17 +01:00
James Carnegie
3602b89512
Add metabom jars to all built docker images
2022-01-18 07:34:36 +00:00
Wes Morgan
b765ed3ec7
Fix: alpine docker builds in CI (follow-up) ( #1142 )
2022-01-13 21:35:55 +00:00
Wes Morgan
5ff1a04f10
Build alpine Docker images in CI when linux/amd64 is in platform list ( #1141 )
2022-01-13 20:26:31 +00:00
Rahul De
f453928f80
fix docker build script
2022-01-11 20:38:43 +00:00
James Carnegie
6e2c32ff84
Add opencontainers annotations to docker image ( #1136 )
...
Co-authored-by: Rahuλ Dé <lispyclouds@users.noreply.github.com>
2022-01-11 20:26:29 +01:00
Michiel Borkent
fb7f984389
[ #1110 ] Load tasks and deps from other bb.edn file ( #1117 )
...
Co-authored-by: Bob <highpressurecarsalesman@gmail.com>
2021-12-26 17:26:35 +01:00
Wes Morgan
bc0ae17e64
Build arm64 docker image in CI ( #1099 )
2021-12-15 15:28:39 +00:00
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