Saúl Ibarra Corretgé
8128e66145
Add FreeBSD support
2023-12-05 12:34:02 +01:00
Saúl Ibarra Corretgé
478bcf74f2
Add OpenBSD support
2023-12-05 12:34:02 +01:00
Felipe Gasper
56738d8b4b
Add Cygwin compatibility
2023-12-03 18:15:07 +01:00
Saúl Ibarra Corretgé
0745c3a12b
Add Emscripten target to CI
...
No testing, just making sure it compiles, and keeps on doing so.
Ref: https://github.com/quickjs-ng/quickjs/issues/75
2023-11-30 21:29:51 +01:00
Saúl Ibarra Corretgé
6f5cda46e7
Test Debug and Release on ClangCL
2023-11-30 09:28:39 +01:00
Saúl Ibarra Corretgé
bfd8c381cb
Add support for building with ClangCL on Windows
...
Since ClangCL is compatible with MSVC this should get us almost there.
Ref: https://clang.llvm.org/docs/MSVCCompatibility.html
2023-11-30 01:23:09 +01:00
Marcin Kolny
699744562e
Enable support for GCC compler v < 4.9
...
GCCv4.8 and lower doesn't ship with stdatomic implementation
(even though they don't define __STD_NO_ATOMICS__ for c11).
If the code is compiled with GCCv4.8 and older, we use builtin
GCC atomic operations instead.
The patch was initially proposed in quickjs's mailing group:
https://www.freelists.org/post/quickjs-devel/PATCH-support-for-older-gcc-versions-whitespace-changes-excluded
2023-11-29 09:22:27 +01:00
Saúl Ibarra Corretgé
00d104e519
Add clang64 MinGW environment to CI
...
run-test262 required pthreads, so let's add that. In addition, in MinGW,
clock_gettime is implemented in the pthreads library, so we want to link
it too.
This doesn't get us anywhere closer to building with ClangCL on Windows,
but hey, another target that required some tweaking...
2023-11-28 09:11:27 +01:00
Saúl Ibarra Corretgé
463df3adf6
Simplify code in CI
2023-11-24 15:44:35 +01:00
Saúl Ibarra Corretgé
72e542fbeb
Add MinGW 32 CI target
2023-11-24 15:44:35 +01:00
Saúl Ibarra Corretgé
af456e6c11
Add workflow for making releases
2023-11-23 14:43:56 +01:00
Saúl Ibarra Corretgé
d88b6734e9
Make MinGW builds fully statically linked
...
Note the pthread usage is due to the Worker support, which is gated out
on Windows so there should be no need to link with pthreads on MinGW.
2023-11-22 19:25:37 +01:00
Saúl Ibarra Corretgé
c4e732e049
Add Linux 32bits target to CI
2023-11-17 23:55:22 +01:00
Saúl Ibarra Corretgé
54a4f2907e
Refactor build system to use CMake only
2023-11-17 13:10:18 +01:00
Saúl Ibarra Corretgé
da3688f33d
Build examples on CMake ( #67 )
2023-11-17 10:45:04 +01:00
Saúl Ibarra Corretgé
0b09109151
Add shared library target to CMake ( #60 )
2023-11-14 22:29:00 +01:00
Saúl Ibarra Corretgé
b98df4d994
Run 262 tests when building with {a,ub}san
2023-11-14 12:44:16 +01:00
Saúl Ibarra Corretgé
ba9569c76f
Drop MinGW CI using Makefile
2023-11-12 23:15:41 +01:00
Saúl Ibarra Corretgé
1ccb36eee8
Add ASAN/MSAN/UBSAN support to CMake
2023-11-12 23:15:41 +01:00
Saúl Ibarra Corretgé
94b85a0784
Test Debug and Release CMake build types on CI ( #52 )
2023-11-12 23:04:46 +01:00
Saúl Ibarra Corretgé
39e834fc18
Add initial CMake support
2023-11-09 17:52:33 +01:00
Ben Noordhuis
558a2ac761
Exit on sanitizer trap, don't recover
...
Fixes: https://github.com/quickjs-ng/quickjs/issues/22
2023-11-08 19:17:13 +01:00
Saúl Ibarra Corretgé
2f51cbc4e6
Add CI for MinGW on Windows
2023-11-08 11:12:54 +01:00
Ben Noordhuis
83d909e70b
Ignore more build artifacts
2023-11-05 14:47:33 +01:00
Ben Noordhuis
7be933ebca
Enable test262 on CI ( #11 )
...
Fixes: https://github.com/quickjs-ng/quickjs/issues/3
2023-11-04 10:27:57 +01:00
Ben Noordhuis
b6e5541d93
Enable ASan en UBSan sanitizers on macOS CI
2023-11-03 01:31:31 +01:00
Ben Noordhuis
f2a8f04f13
Enable UBSan sanitizer on CI
2023-11-01 09:31:30 +01:00
Ben Noordhuis
141b7759c7
Enable sanitizers on CI
2023-11-01 05:20:14 +01:00
Ben Noordhuis
62f67892ad
ci: add macos build+test workflow ( #3 )
2023-10-31 18:07:27 +01:00
Ben Noordhuis
2f7fd38f68
ci: add linux build+test workflow ( #2 )
2023-10-31 18:01:52 +01:00