From c8d620da3a0c46a4c8a0a629c2e75293403cf279 Mon Sep 17 00:00:00 2001 From: Mutzi Date: Wed, 24 Apr 2024 13:36:29 +0200 Subject: [PATCH] CI should work now... --- .gitea/workflows/build.yaml | 2 +- CMakeLists.txt | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index c03de08..33c949b 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -8,7 +8,7 @@ jobs: container: node:current-alpine steps: - - run: apk add git tar cmake make g++ linux-headers python3 xxd liburing-dev + - run: apk add git tar cmake make g++ linux-headers python3 xxd - uses: actions/checkout@v3 - run: npm ci working-directory: frontend diff --git a/CMakeLists.txt b/CMakeLists.txt index 9d03219..b7ea475 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -32,7 +32,14 @@ CPMAddPackage( ) if(uring_ADDED) + add_custom_command( + OUTPUT ${uring_SOURCE_DIR}/include/liburing/compat.h + COMMAND ${uring_SOURCE_DIR}/configure + WORKING_DIRECTORY ${uring_SOURCE_DIR} + ) + add_library(uring STATIC + ${uring_SOURCE_DIR}/include/liburing/compat.h ${uring_SOURCE_DIR}/src/setup.c ${uring_SOURCE_DIR}/src/queue.c ${uring_SOURCE_DIR}/src/register.c