mirror of
https://github.com/libratbag/libratbag.git
synced 2026-11-07 23:23:52 +01:00
Semaphore CI is still using Ubuntu 14.04, and the shipped systemd version is just too old. OTOH, Circle CI 2.0 (still beta as of today) allows to use any docker image as a base for running the tests. Meaning that we can have a fedora rawhide image as a base and we do not have to handle the update of systemd meson and others. Ship a basic circle.yml for Circle CI to run our tests and add the badge in the README. Signed-off-by: Benjamin Tissoires <benjamin.tissoires@gmail.com>
18 lines
432 B
YAML
18 lines
432 B
YAML
version: 2
|
|
jobs:
|
|
build:
|
|
working_directory: ~/libratbag
|
|
docker:
|
|
- image: fedora:rawhide
|
|
steps:
|
|
- run:
|
|
command: |
|
|
dnf install -y git gcc gcc-c++ meson check-devel libudev-devel libevdev-devel doxygen graphviz
|
|
- checkout
|
|
- run:
|
|
command: |
|
|
meson build
|
|
ninja -C build test
|
|
- store_artifacts:
|
|
path: ~/libratbag/build/meson-logs
|