Add meson test build for epoll.

This commit is contained in:
Calvin Rose 2020-11-15 19:47:11 -06:00
parent a25b030e36
commit 3f7cdcb6a7
3 changed files with 16 additions and 0 deletions

14
.builds/epoll.yml Normal file
View File

@ -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

View File

@ -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_PROCESSES', not get_option('processes'))
conf.set('JANET_SIMPLE_GETLINE', get_option('simple_getline'))
conf.set('JANET_EV_EPOLL', get_option('epoll'))
if get_option('os_name') != ''
conf.set('JANET_OS_NAME', get_option('os_name'))
endif

View File

@ -17,6 +17,7 @@ option('processes', type : 'boolean', value : true)
option('umask', type : 'boolean', value : true)
option('realpath', type : 'boolean', value : true)
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('max_proto_depth', type : 'integer', min : 10, max : 8000, value : 200)