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