romange / helio

A modern framework for backend development based on io_uring Linux interface
Apache License 2.0
447 stars 50 forks source link

include MacOS CI and make helio compile and pass tests on macOS #108

Closed yuelimv closed 1 year ago

yuelimv commented 1 year ago

Currently, three gtests have to be disabled on MacOS: malloc_test (doesn't build on github macos CI instance) UDS from accept_server_test ProcReader from io_test Timeout from fiber_socket_test

romange commented 1 year ago

Hi @yuelimv . Seems we solved most of the problems with this PR. Can you please drive it to completion by avoiding doing tests/checks that are not applicable for APPLE?

Thanks!

yuelimv commented 1 year ago

Hi @yuelimv . Seems we solved most of the problems with this PR. Can you please drive it to completion by avoiding doing tests/checks that are not applicable for APPLE?

Thanks!

hi @romange , i have rebased and disabled four tests. Build and test passed on my macbook. Those tests seems to be central, but I guess they contain code that are tightly related to Linux... please take a look to see if we need to get one of those tests work on mac. Otherwise, I felt this could be more or less good to go.