1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Add ucontext and copy coroutine implementations to test matrix.

This commit is contained in:
Samuel Williams 2019-06-30 00:21:19 +12:00
parent 7291fef55c
commit b8242bce23
No known key found for this signature in database
GPG key ID: A0765423A44728FB

View file

@ -156,12 +156,19 @@ env:
- GEMS_FOR_TEST= - GEMS_FOR_TEST=
- cppflags=-DVM_CHECK_MODE=0x0003 - cppflags=-DVM_CHECK_MODE=0x0003
- &FIBER_USE_sjlj - &WITH_COROUTINE_UCONTEXT
name: FIBER_USE_NATIVE=0 name: COROUTINE=ucontext
<<: *linux <<: *linux
<<: *cron-only # <<: *cron-only
env: env:
- cppflags=-DFIBER_USE_NATIVE=0 - CONFIG_FLAG='--with-coroutine=ucontext'
- &WITH_COROUTINE_COPY
name: COROUTINE=copy
<<: *linux
# <<: *cron-only
env:
- CONFIG_FLAG='--with-coroutine=copy'
- &TOKEN_THREADED_CODE - &TOKEN_THREADED_CODE
name: TOKEN_THREADED_CODE name: TOKEN_THREADED_CODE
@ -385,7 +392,8 @@ matrix:
- <<: *UBSAN - <<: *UBSAN
- <<: *assertions - <<: *assertions
- <<: *VM_CHECK_MODE - <<: *VM_CHECK_MODE
- <<: *FIBER_USE_sjlj - <<: *WITH_COROUTINE_UCONTEXT
- <<: *WITH_COROUTINE_COPY
- <<: *TOKEN_THREADED_CODE - <<: *TOKEN_THREADED_CODE
- <<: *CALL_THREADED_CODE - <<: *CALL_THREADED_CODE
- <<: *NO_THREADED_CODE - <<: *NO_THREADED_CODE