mirror of https://github.com/janet-lang/janet
Add meson test build for epoll.
This commit is contained in:
parent
a25b030e36
commit
3f7cdcb6a7
|
@ -0,0 +1,14 @@
|
||||||
|
image: archlinux
|
||||||
|
sources:
|
||||||
|
- https://git.sr.ht/~bakpakin/janet
|
||||||
|
packages:
|
||||||
|
- meson
|
||||||
|
tasks:
|
||||||
|
- build: |
|
||||||
|
meson setup build --buildtype=release
|
||||||
|
cd build
|
||||||
|
meson configure -Depoll=false
|
||||||
|
ninja
|
||||||
|
ninja test
|
||||||
|
sudo ninja install
|
||||||
|
sudo jpm --verbose install circlet
|
|
@ -73,6 +73,7 @@ conf.set('JANET_NO_UMASK', not get_option('umask'))
|
||||||
conf.set('JANET_NO_REALPATH', not get_option('realpath'))
|
conf.set('JANET_NO_REALPATH', not get_option('realpath'))
|
||||||
conf.set('JANET_NO_PROCESSES', not get_option('processes'))
|
conf.set('JANET_NO_PROCESSES', not get_option('processes'))
|
||||||
conf.set('JANET_SIMPLE_GETLINE', get_option('simple_getline'))
|
conf.set('JANET_SIMPLE_GETLINE', get_option('simple_getline'))
|
||||||
|
conf.set('JANET_EV_EPOLL', get_option('epoll'))
|
||||||
if get_option('os_name') != ''
|
if get_option('os_name') != ''
|
||||||
conf.set('JANET_OS_NAME', get_option('os_name'))
|
conf.set('JANET_OS_NAME', get_option('os_name'))
|
||||||
endif
|
endif
|
||||||
|
|
|
@ -17,6 +17,7 @@ option('processes', type : 'boolean', value : true)
|
||||||
option('umask', type : 'boolean', value : true)
|
option('umask', type : 'boolean', value : true)
|
||||||
option('realpath', type : 'boolean', value : true)
|
option('realpath', type : 'boolean', value : true)
|
||||||
option('simple_getline', type : 'boolean', value : false)
|
option('simple_getline', type : 'boolean', value : false)
|
||||||
|
option('epoll', type : 'boolean', value : false)
|
||||||
|
|
||||||
option('recursion_guard', type : 'integer', min : 10, max : 8000, value : 1024)
|
option('recursion_guard', type : 'integer', min : 10, max : 8000, value : 1024)
|
||||||
option('max_proto_depth', type : 'integer', min : 10, max : 8000, value : 200)
|
option('max_proto_depth', type : 'integer', min : 10, max : 8000, value : 200)
|
||||||
|
|
Loading…
Reference in New Issue