From ce38e0db92ccad4b1baaa26a956bcb39560163d0 Mon Sep 17 00:00:00 2001 From: JesseQu Date: Tue, 3 Dec 2024 19:47:30 +0800 Subject: [PATCH] added CI configuration --- .drone.yml | 17 +++++++++++++++++ README.md | 2 ++ 2 files changed, 19 insertions(+) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..9e23286 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,17 @@ +kind: pipeline +type: ssh +name: default + +server: + host: 192.168.46.16 + user: jessequ + password: + from_secret: password + +steps: +- name: build + commands: + - mkdir -p build/debug + - cd build/debug + - /home/jessequ/Qt/Tools/CMake/bin/cmake -S ../.. -DCMAKE_BUILD_TYPE:STRING=Debug -DCMAKE_GENERATOR:STRING=Ninja -DCMAKE_MAKE_PROGRAM:FILEPATH=/home/jessequ/Qt/Tools/Ninja/ninja -DCMAKE_PREFIX_PATH:PATH=/home/jessequ/Qt/6.7.3/gcc_64 -DCMAKE_PROJECT_INCLUDE_BEFORE:FILEPATH=/home/jessequ/Qt/Platforms/package-manager/auto-setup.cmake + - /home/jessequ/Qt/Tools/Ninja/ninja diff --git a/README.md b/README.md index d515f0f..c211b1a 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,5 @@ +[![Build Status](http://192.168.46.100:4080/api/badges/CL-Softwares/QRedis/status.svg)](http://192.168.46.100:4080/CL-Softwares/QRedis) + ## QRedis QRedis provides a modern Qt client library for communicating with a [Redis server](http://redis.io/). The code compiles exclusively with Qt 5, ensuring years of compatibility down the road. Modified with Qt 6 compatibility by Jesse Qu.