Bob
af6f94ef81
run lib tests in Windows CI ( #933 )
...
* run lib tests in Windows CI
- add batch scripts for invoking tests
- skip some tests on windows
- tweak a couple tests to run on linux and windows
* configure git to checkout with Windows line endings on Appveyor
2021-07-12 00:00:14 +02:00
Bob
16911a54f0
add more windows testing ( #902 )
...
- add default test selector to skip "windows only" tests
- in cases where the differences between *nix shell and windows shell
make the test very messy, add a separate "windows only" test
- make more tests work on Windows
2021-06-24 22:34:57 +02:00
Bob
35e2cd9d05
make tests run on windows as the default ( #235 ) ( #898 )
...
* make tests run on windows as the default
- change from selecting tests to run to selecting tests to skip (remove all :windows tags, add
:skip-windows tag to tests that don't currently work on windows)
- handfuls of calls to `normalize` and `escape-file-paths` to handle platform differences
- split `task-test` to make most of the tests run on windows, and exclude just a couple of Unix-y tests
* make a binding name clearer
* skip nrepl-server-test on Windows
- test fails on CI, so disabling it for now
* unset bb environment vars after running tests
* unset bb environment var after running release-artifact
BABASHKA_EDN being set can interfere with some tests, so unset it before running the
native tests
* skip uberjar test on Windows
uberjar-test's 'throw on empty classpath' test failing on Windows native
(but passes on JVM) - skip it for now
2021-06-20 09:23:58 +02:00
Bob
ce4702318a
add more windows testing ( #894 )
...
- just handling line endings and escaping backslashes in file paths
2021-06-18 23:51:46 +02:00
Bob
e056cb96aa
add more windows testing ( #891 )
...
- add `normalize` call to `bb-native` output
- add `escape-file-paths` function to double up backslashes for Windows paths
passed as strings
- add :windows selector to about 10 more tests, along with various small changes
for Windows testing
- update test.bat to more closely mirror the Linux/Mac test script
2021-06-17 19:43:43 +02:00
Michiel Borkent
90ac55d588
Start porting Windows tests ( #235 ) ( #887 )
2021-06-16 11:01:17 +02:00
Michiel Borkent
35103f40ef
Upgrade to graal 21.1, fixes #884 ( #885 )
2021-06-13 21:53:07 +02:00
Michiel Borkent
6e4044c623
Async is not optional
2021-06-10 12:10:47 +02:00
Thiago Kenji Okada
4b4ada9617
Improve script/setup-musl ( #867 )
2021-05-25 18:52:30 +02:00
Michiel Borkent
6aca41a48a
[ #829 ] Allow thread-first in combination with shell
2021-05-13 13:10:56 +02:00
Michiel Borkent
00fd7820c3
Fix Windows httpkit config
2021-05-11 14:16:35 +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
f8944f1286
Another bash fix
2021-05-10 23:27:54 +02:00
Michiel Borkent
a8528e4a4a
Fix bash
2021-05-10 23:16:59 +02:00
Michiel Borkent
f4fb27be98
Fix bash script
2021-05-10 23:08:11 +02:00
Michiel Borkent
3800245849
musl
2021-05-10 23:03:46 +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
Thiago Kenji Okada
73d454be46
Add sha256sum check to zlib ( #830 )
...
Just to make sure that we are using the correct source code.
2021-05-10 17:33:10 +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
cbd8a2d07d
[ #821 ] Include Selmer
2021-05-06 12:53:59 +02:00
Michiel Borkent
24c4c62ae3
Use correct branch on appveyor
2021-04-21 13:46:47 +02:00
Michiel Borkent
906d009fc0
Fix version
2021-04-21 11:49:35 +02:00
Michiel Borkent
eddb098947
Release artifacts to Github automatically ( #795 )
2021-04-21 11:47:46 +02:00
Michiel Borkent
c39fc76702
Automatically upload artifacts to Github release
2021-04-21 00:10:59 +02:00
Michiel Borkent
1870e2729e
[ #769 ] rewrite-clj support
2021-04-04 16:22:45 +02:00
Michiel Borkent
63b7ed3dab
Clean in first test step
2021-03-04 10:49:16 +01:00
Michiel Borkent
00e65f0416
[ #738 ] upgrade to httpkit 2.5.3
2021-02-26 22:17:24 +01:00
Michiel Borkent
77daea7362
[ #712 ] Upgrade to GraalVM 21.0.0 ( #725 )
2021-02-07 12:23:20 +01:00
Michiel Borkent
7cbcd4440a
compile opts [skip ci]
2021-02-06 18:01:51 +01:00
Michiel Borkent
8326825494
dashboard [skip ci]
2021-02-06 16:32:27 +01:00
Michiel Borkent
931fadabb2
[ #487 ] Include clojure.test.check as preparation for clojure.spec
2021-01-24 21:07:07 +01:00
Michiel Borkent
c4bb42df3e
[ #646 ] Add hiccup.core and hiccup2.core
2021-01-23 22:47:35 +01:00
Michiel Borkent
497bfb01da
[ #594 ] Include clojure.core.match
2021-01-23 14:02:00 +01:00
Michiel Borkent
5305260fd4
rm classes [skip ci]
2021-01-20 00:30:26 +01:00
Michiel Borkent
c2938ebd0c
Revert
2021-01-20 00:20:05 +01:00
Michiel Borkent
09fcd97b9d
Cut off ObjectStreamClass
2021-01-19 23:24:23 +01:00
Michiel Borkent
55db949ca8
Also cut off on linux
2021-01-19 23:18:02 +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
db5466d3c4
doc [skip ci]
2020-12-04 09:42:24 +01:00
Michiel Borkent
42e3f44fcb
0.2.4 - tests
2020-11-27 09:48:31 +01:00
Jakub Holy
3e66570596
BABASHKA_LEAN: keep some feature enabled
2020-11-12 19:59:21 +01:00
Jakub Holy
b73940861f
Add feature/oracledb ( #638 )
...
NOTE: Using the Oracle driver directly requires some GraalVM settings
while the helidon wrapper provides those and thus works out of the box.
2020-11-11 22:29:42 +01:00
Kevin W. van Rooijen
13f65f05ae
Add optional clojure-lanterna feature
2020-10-12 17:42:18 +02:00
Michiel Borkent
a1d34f5242
[ #556 ] Add org.httpkit.server namespace (experimental)
2020-09-20 23:19:49 +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
Michiel Borkent
8d7bb09a2b
Release notes [skip ci]
2020-08-26 20:43:16 +02:00
Michiel Borkent
7cbaa36652
[ #543 ] Stacktrace improvements
2020-08-26 18:16:11 +02:00
Michiel Borkent
5b0f54e576
[ #508 , #543 ] Improve error reporting with stack trace
2020-08-24 23:45:41 +02:00
Michiel Borkent
00a11ad31f
Prepare release notes [skip ci]
2020-08-21 10:31:54 +02:00
Michiel Borkent
150b35e789
[ #528 ] Allow reading resources from jar on Windows
2020-08-17 10:50:26 +02:00
Michiel Borkent
f091eeddd9
[ #528 ] Allow reading resources from jar files
2020-08-12 09:34:38 +02:00
Lee Read
7b5e09e4e8
Compile script now follows symlinks when searching for svm.jar ( #512 )
...
Fixes #511
2020-07-16 09:40:34 +02:00
Michiel Borkent
227b8a0e77
Fix BABASHKA_LEAN
2020-07-05 12:13:08 +02:00
Michiel Borkent
ee8508d320
Merge testing of libs into one babashka process ( #485 )
2020-06-17 13:30:22 +02:00
Michiel Borkent
af760c8263
Test minimallist ( #484 )
2020-06-17 11:45:16 +02:00
Michiel Borkent
be39ee7e27
Add compatibility with honeysql ( #476 )
2020-06-13 23:44:35 +02:00
Jeroen van Dijk
0754975172
Add support for clojure.data.generators ( #470 )
2020-06-12 16:35:34 +02:00
Michiel Borkent
ac04eb17ee
CHANGELOG.md [skip ci]
2020-06-11 00:13:47 +02:00
Michiel Borkent
cb0361f05e
v0.1.1
2020-06-10 23:54:48 +02:00
Michiel Borkent
a26decfca8
aero tests
2020-06-10 23:52:30 +02:00
Mikko Harju
fa7f97b2f3
Update GraalVM version in build instructions. ( #465 )
...
* Update GraalVM version in build instructions.
* Update comment in bump_graal_version
2020-06-10 10:46:20 +02:00
Michiel Borkent
14cd18f50f
sci: defprotocol and defrecord
2020-06-09 23:11:09 +02:00
Michiel Borkent
41614ba717
Changelog
2020-06-01 10:56:00 +02:00
Michiel Borkent
0aa0859d83
CHANGELOG.md [ci skip]
2020-05-30 22:12:29 +02:00
Michiel Borkent
696d4102a7
Add more java.time classes, test with cljc.java-time tests
2020-05-29 20:30:06 +02:00
Michiel Borkent
7d5b56ed1b
Move clj-http-lite repo
2020-05-28 22:51:58 +02:00
Michiel Borkent
6384e86b70
Doc
2020-05-23 11:27:02 -03:00
Michiel Borkent
4b7369a3b8
Fix bump graal script
2020-05-23 10:57:27 -03:00
Michiel Borkent
c3f9480efe
[ #449 ] move to GraalVM 20.1.0 java11
2020-05-23 14:53:28 +02:00
Sameer Kolhar
d92496faaa
Add bump graal version script ( #443 )
...
* Add bump graal version script
* Update script to bump graal version
* Update bump_graal script with java option
2020-05-22 16:13:00 +02:00
Sameer Kolhar
a28618387b
[ #388 ] embedded postgresql tests
2020-05-18 17:08:34 +02:00
Michiel Borkent
4e1d5c03a7
Add clojure.data.zip test
2020-05-14 23:35:06 +02:00
Matias Bjarland
eef0b046cd
adding support for clojure.zip ( #435 )
2020-05-14 22:16:42 +02:00
Michiel Borkent
54a4197ce7
Add tests for doric library
2020-05-02 21:06:28 +02:00
Michiel Borkent
c3280c67f6
fix
2020-05-02 13:25:38 +02:00
Michiel Borkent
0805efd27b
[ #407 ] datascript feature
2020-05-01 20:37:31 +02:00
Michiel Borkent
e8ab72f111
[ #389 ] java.nio flag
2020-04-30 14:27:59 +02:00
Michiel Borkent
2a44b9f9dd
[ #389 ] feature flag for java.time
2020-04-30 12:39:44 +02:00
Michiel Borkent
6f14479749
BABASHKA_LEAN variable
2020-04-30 12:20:00 +02:00
Michiel Borkent
9ec14eb56b
[ #389 ] feature flag for transit
2020-04-30 12:18:46 +02:00
Michiel Borkent
e565890f1d
[ #389 ] csv feature flag
2020-04-30 11:39:25 +02:00
Michiel Borkent
02c7c51ad4
[ #389 ] core.async feature flag
2020-04-29 17:50:38 +02:00
Michiel Borkent
0d1cabd4dc
[ #389 ] SQL feature flags
2020-04-29 14:50:25 +02:00
Michiel Borkent
cd96a380ba
[ #389 ] YAML feature flag
2020-04-28 17:39:47 +02:00
Michiel Borkent
6c255a702e
Merge windows branch to master
2020-04-28 15:32:34 +02:00
Michiel Borkent
ab008870b8
[ #389 ] XML feature flag ( #390 )
2020-04-28 12:03:01 +02:00
Michiel Borkent
88eb4c569d
Add postgres test
2020-04-27 11:45:11 +02:00
Michiel Borkent
f66d11cd3c
Fix compile script
2020-04-26 19:43:33 +02:00
Michiel Borkent
ac24abbbfb
[ #382 ] add optional support for hsqldb
2020-04-26 13:11:38 +02:00
Michiel Borkent
7fc33dcb21
Up the -Xmx
2020-04-25 11:29:26 +02:00
Michiel Borkent
6cd384c215
[ #372 ] add support for jdbc + postgres
2020-04-24 15:08:26 +02:00
Michiel Borkent
96deaf3206
[ #370 ] fix for clojure.math.combinatorics
2020-04-21 11:41:29 +02:00
Michiel Borkent
8072df2b97
Dynamically find svm.jar
2020-04-18 18:10:51 +02:00
Michiel Borkent
b9b8db4502
Fix tests
2020-04-16 23:24:20 +02:00
Michiel Borkent
7fa410b404
[ #263 ] add more clj-yaml functions, run tests from source
2020-04-16 22:43:37 +02:00
Michiel Borkent
26473b8a42
[ #317 ] add clojure.repl/source
2020-04-16 20:57:59 +02:00
Michiel Borkent
bc4fab37cd
Enable jar protocol
2020-04-16 15:33:25 +02:00