forked from drath/libratbag
Add circle.yml
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>
This commit is contained in:
committed by
Peter Hutterer
parent
1a764944e7
commit
9ed61fd072
@@ -263,3 +263,5 @@ libratbag is licensed under the MIT license.
|
||||
See the COPYING file for the full license information.
|
||||
|
||||
[](https://semaphoreci.com/libratbag/libratbag)
|
||||
|
||||
[](https://circleci.com/gh/bentiss/libratbag)
|
||||
|
||||
17
circle.yml
Normal file
17
circle.yml
Normal file
@@ -0,0 +1,17 @@
|
||||
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
|
||||
Reference in New Issue
Block a user