Setup Drone automatic tests.

This commit is contained in:
Madeorsk 2021-08-06 16:18:16 +02:00
parent b5d14cf502
commit fd612b1d39
2 changed files with 27 additions and 0 deletions

25
.drone.yml Normal file
View File

@ -0,0 +1,25 @@
kind: pipeline
type: docker
name: test-and-build-ksr
steps:
- name: submodules
image: alpine/git
commands:
- git submodule update --init --recursive
- name: test
image: docker.madeorsk.com/madeorsk/ksr-build
username:
from_secret: docker_registry_username
password:
from_secret: docker_registry_password
commands:
- meson testsbuild
- ninja -C testsbuild test
# - meson testsbuild -Db_coverage=true
# - ninja -C testsbuild test
# - ninja -C testsbuild coverage
image_pull_secrets:
- dockerconfig

View File

@ -1,3 +1,5 @@
# libksr # libksr
[![Build Status](https://drone.madeorsk.com/api/badges/Madeorsk/libksr/status.svg?ref=refs/heads/main)](https://drone.madeorsk.com/Madeorsk/libksr)
Tiny utils library in C. Tiny utils library in C.