Commit graph

210 commits

Author SHA1 Message Date
Michiel Borkent
2e0bbfb260 unset bb classpath 2023-04-21 16:50:31 +02:00
Michiel Borkent
c1726c3b98 Add test for regression 2023-04-21 16:39:08 +02:00
Michiel Borkent
63102eca86
Add --install-exit-handlers to support shutdown hook + SIGTERM (#1540) 2023-04-19 21:55:47 +02:00
Michiel Borkent
3ad043769c
Use GraalVM 22.3.1 on JDK 19.0.2 with virtual thread support (#1500) 2023-02-21 16:23:03 +01:00
Michiel Borkent
be426ee56d Add secret key test 2023-02-15 13:30:09 +01:00
Bob
42fd5d851f
Don't fail build on flaky tests 2023-02-07 22:24:11 +01:00
Michiel Borkent
ca1e2d7769
Classloader interop improvements (#1480) 2023-02-03 13:08:55 +01:00
Michiel Borkent
8e64ef9df8
Upgrade babashka spec.alpha (#1459) 2023-01-03 22:03:19 +01:00
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
39c1390085 Fix build 2022-12-26 12:58:08 +01:00
Thiago Kenji Okada
58dbd2b6aa Update zlib to version 1.2.13 2022-12-09 15:13:39 +00:00
Michiel Borkent
bc0b59500b
Fix #1433: spec source as fallback + built-in (#1435) 2022-11-30 14:10:02 +01:00
Michiel Borkent
495ded8a50
Compatibility with cognitest test runner and tools.namespace (#1423) 2022-11-18 23:43:42 +01:00
Michiel Borkent
bca3f28e28
Graalvm 22.3.0 (#1408) 2022-10-25 22:56:57 +02:00
Michiel Borkent
87e9e0861c Upgrade graalvm in cirrus 2022-10-06 14:16:20 +02:00
Michiel Borkent
2dac7847a8 Fix #1369: provide .sha256 files for every released asset 2022-10-06 14:12:58 +02:00
Michiel Borkent
d27fc0d2d6 Fix #1343: postgresql feature 2022-08-23 17:40:28 +02:00
Michiel Borkent
e58fe9db1b
Upgrade to GraalVM 22.2.0 (#1325) 2022-07-27 12:20:32 +02:00
José Luis Lafuente
f044ba15cd
Fix misspelling: BABAHSKA -> BABASHKA (#1308) 2022-07-03 13:02:15 +02:00
José Luis Lafuente
3564cac6b3
Fix misspelling (#1303) 2022-06-29 22:48:19 +02:00
Michiel Borkent
c0d4127b57 cirrus 2022-06-07 22:24:57 +02:00
Michiel Borkent
05223adf7e release 2022-06-07 21:49:00 +02:00
Michiel Borkent
6960bc5d24 Tweak release script 2022-05-09 17:01:54 +02:00
Michiel Borkent
41dcc9239a Use into as catvec replacement for now 2022-05-03 16:47:43 +02:00
Michiel Borkent
b93198c965
Compatibility with fipp and puget (#1253)
See brandonbloom/fipp#81
2022-04-30 11:46:36 +02:00
Michiel Borkent
fc7df082b7
Bump to newest graalvm (#1250) 2022-04-26 16:27:49 +02:00
Michiel Borkent
24f124d955 fix #1237: add tests for numeric tower 2022-04-23 11:35:49 +02:00
Thiago Kenji Okada
a4a8ce5306
Unbump zlib to version 1.2.11 (#1222)
The newer 1.2.12 version is breaking the tests. The older version is not
available in the main download path, however it is still available in
the archive.
2022-03-28 18:07:42 +02:00
Michiel Borkent
bffc4bf00c Use old musl 2022-03-28 17:55:04 +02:00
Michiel Borkent
bef6d99740 Revert "Fix musl"
This reverts commit c7428da216.
2022-03-28 17:53:55 +02:00
Michiel Borkent
c7428da216 Fix musl 2022-03-28 17:14:09 +02:00
Michiel Borkent
6305f7450d
Add compatibility with GraalVM 22.1 (#1215)
* do not init java net http classes at build time
2022-03-22 16:41:26 +01:00
Michiel Borkent
3759d14baf
Add clojure.data.priority-map as built-in, support aysylu/loom lib (#1207) 2022-03-11 12:23:31 +01:00
Gabriel Horner
ac6ad33fcb
Add 2 more compatible libs (#1171) 2022-02-10 13:45:15 +01:00
Michiel Borkent
b7461756bf
chore: Upgrade to GraalVM 22.0.0.2 2022-01-25 18:04:38 +01:00
James Carnegie
3602b89512 Add metabom jars to all built docker images 2022-01-18 07:34:36 +00:00
Rahul De
2f6d363ee8
Revert: Add metabom jar to docker image(9cf6a1ae71) 2022-01-11 21:34:36 +00:00
James Carnegie
9cf6a1ae71 Add metabom jar to docker image 2022-01-11 19:03:51 +00:00
Gabriel Horner
665ae4dd97
Finish up library tests (#1120)
* Add tests for markdown-clj and tools.namespace

See comment for why only one markdown test could be run.
Closes #1069 and #1064

* Convert 10 test libs using add-libtest

Also improved add-libtest to only require maven artifact
and rely on clojars for getting git-url most of the time

* Convert 8 more test libs using add-libtest

Also updated table and added comment for newline test

* Fix doric test

* Disable tools.namespace test that fails on windows

* Added dozen manual test libs and converted 2 test libs

add-libtest.clj supports manually-added and test-directories options

* Converts last tests to test namespaces and write libraries.csv

* Add a number of library tests from projects.md

Also add more docs around adding test libs and tweak add script

* Use :sha for gitlib and older clojure cli

* Revert "Use :sha for gitlib and older clojure cli"

This reverts commit c663ab8368.

* Fix and disable failing tests

Disabled tests that fail consistently and fixed windows one
2021-12-29 16:35:14 +01:00
Michiel Borkent
818f2a9931
Upgrade Clojure CLI (#1121) 2021-12-28 11:09:31 +01:00
Michiel Borkent
8c770b41ac oops 2021-12-26 23:24:48 +01:00
Michiel Borkent
8abf58112e Publish dev release 2021-12-26 23:11:58 +01:00
Michiel Borkent
e710c66dcb Publish dev builds 2021-12-26 21:15:36 +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
Gabriel Horner
3a30a11c1f
Add more library tests (#1114)
* Add environ and table tests

Also allow for directory option and fix nasty nil test-dir bug

* Add 7 libraries via add-libtest.clj

Added :branch option and saved additional info to bb-tested-libs.edn to
reproduce test fetching later

* Disable intermittent failing test
2021-12-22 21:27:29 +01:00
Gabriel Horner
4e7d04f672
Add libtest (#1112)
* Add add-libtest script and add 2 libraries with it

* Add tests for 3 existing libraries
2021-12-21 19:25:10 +01:00
Wes Morgan
bf51eeb26d
Allow building x86_64 or arm64 Docker images (#1095) 2021-12-07 22:15:57 +00:00
Johannes Lötzsch
ec4f9f95fb
fix script/compile #1089 (#1090)
Co-authored-by: Johannes Lötzsch <git@johannesloetzsch.de>
2021-12-05 12:05:05 +01:00
Nik
f06a749249
Add support for SQLite via a BABASHKA_FEATURE_SQLITE feature flag (#1079)
* implement native sqlite support as a feature flag following [1]

([1] is mentioned as a checklist of sorts as to how to add a new 
feature flag in [2])

[1] 13f65f05ae
[2] https://github.com/babashka/babashka/blob/master/doc/build.md

* bump to latest sqlite-jdbc, remove some no longer needed config+libs

based on feedback from borkdude here [1], bump xerial/sqlite-jdbc
3.36.0.3, which includes the graalvm classes and resource config
previously implemented via ericdallo/sqlite-jni-graal-fix and a `-H`
flag in `script/compile`

[1]: https://github.com/babashka/babashka/pull/1079#issuecomment-980533178
2021-11-28 09:34:54 +01:00
Michiel Borkent
c48ae27da3
Disable some service loader features for smaller image size (#1054)
This also excludes `java.awt.Toolkit`.

```
     -H:ServiceLoaderFeatureExcludeServices=java.net.ContentHandlerFactory \
     -H:ServiceLoaderFeatureExcludeServices=java.nio.charset.spi.CharsetProvider
```
2021-11-05 10:39:48 +01:00