diff --git a/.github/workflows/ci.linux.compiler.yml b/.github/workflows/ci.linux.compiler.yml index 480d8b6a..7c5a5895 100644 --- a/.github/workflows/ci.linux.compiler.yml +++ b/.github/workflows/ci.linux.compiler.yml @@ -20,14 +20,14 @@ jobs: -D PHOTON_ENABLE_FUSE=ON \ -D PHOTON_ENABLE_URING=ON \ -D PHOTON_ENABLE_EXTFS=ON \ - -D PHOTON_BUILD_DEPENDENCIES=ON \ - -D PHOTON_AIO_SOURCE="" \ - -D PHOTON_ZLIB_SOURCE="" \ - -D PHOTON_CURL_SOURCE="" \ - -D PHOTON_OPENSSL_SOURCE="" \ - -D PHOTON_GFLAGS_SOURCE="" \ - -D PHOTON_GOOGLETEST_SOURCE="" \ - -D PHOTON_URING_SOURCE=https://github.com/axboe/liburing/archive/refs/tags/liburing-2.3.tar.gz + # -D PHOTON_BUILD_DEPENDENCIES=ON \ + # -D PHOTON_AIO_SOURCE="" \ + # -D PHOTON_ZLIB_SOURCE="" \ + # -D PHOTON_CURL_SOURCE="" \ + # -D PHOTON_OPENSSL_SOURCE="" \ + # -D PHOTON_GFLAGS_SOURCE="" \ + # -D PHOTON_GOOGLETEST_SOURCE="" \ + # -D PHOTON_URING_SOURCE=https://github.com/axboe/liburing/archive/refs/tags/liburing-2.3.tar.gz cmake --build build -j $(nproc) --clean-first -- VERBOSE=1 ln -f common/checksum/test/checksum.in build/output/ diff --git a/io/test/test-iouring.cpp b/io/test/test-iouring.cpp index 464bb088..f1a6fd11 100644 --- a/io/test/test-iouring.cpp +++ b/io/test/test-iouring.cpp @@ -342,7 +342,8 @@ TEST(perf, DISABLED_read) { class event_engine : public testing::Test { protected: void SetUp() override { - GTEST_ASSERT_EQ(0, photon::init(ci_ev_engine, photon::INIT_IO_NONE)); + auto eng = photon::INIT_EVENT_DEFAULT - photon::INIT_EVENT_EPOLL; + GTEST_ASSERT_EQ(0, photon::init(eng, photon::INIT_IO_NONE)); #ifdef PHOTON_URING engine = (ci_ev_engine == photon::INIT_EVENT_EPOLL) ? photon::new_epoll_cascading_engine() : photon::new_iouring_cascading_engine();