1 parent d282499 commit 8f0f8b3Copy full SHA for 8f0f8b3
2 files changed
.github/workflows/ci.yml
@@ -0,0 +1,19 @@
1
+name: KV-DB CI
2
+
3
+on:
4
+ push:
5
+ pull_request:
6
7
+jobs:
8
+ test:
9
+ runs-on: ubuntu-latest
10
11
+ steps:
12
+ - name: Checkout code
13
+ uses: actions/checkout@v4
14
15
+ - name: Build Docker image
16
+ run: docker build -t kv-db .
17
18
+ - name: Run tests inside container
19
+ run: docker run --rm kv-db ctest --output-on-failure
Dockerfile
@@ -19,7 +19,7 @@ COPY . .
20
# Run CMake and build the database
21
RUN cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Release && \
22
- cmake --build build --target KV_Database
+ cmake --build build
23
24
# ==========================================
25
# Stage 2: Minimal Runtime (Production-grade)
0 commit comments