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.
* 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
* 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
* 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
This also excludes `java.awt.Toolkit`.
```
-H:ServiceLoaderFeatureExcludeServices=java.net.ContentHandlerFactory \
-H:ServiceLoaderFeatureExcludeServices=java.nio.charset.spi.CharsetProvider
```
* make core.async integral (not a feature)
tasks (in particular, parallel tasks) require core.async
* make rewrite_clj integral (not a feature)
* cleanup mistakes
* 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
* put tools.logging behind a feature flag
* add tools.logging.readable
- move logging namespace to feature folder
- add logging.readable namespace
- add tests for logging.readable
* cleanup logging changes
- add logging env var to compile script
- remove unconditional require of logging namespace
* move old-config capture to before alter
* remove feature check from logging tests
Now that bullseye was released, Debian is starting to make bigger
changes on unstable. To avoid breakage, let's use musl from bullseye
that is the correct version that we were using until now (1.22-1):
https://packages.debian.org/bullseye/musl-tools
Eventually a better solution would be to simply use Debian bullseye to
compile everything, however the official Clojure image from Docker is
still using stretch. So this is a temporary solution until them.