forked from Coffee2CodeNL/gebaar-libinput
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Travis CI + SystemD (Coffee2CodeNL#3)
* Travis CI * Add systemd unit
- Loading branch information
Showing
4 changed files
with
38 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
language: c | ||
compiler: gcc | ||
os: linux | ||
dist: xenial | ||
|
||
before_install: | ||
- docker build -t builder -f build.Dockerfile . | ||
|
||
script: | ||
- docker run --rm --device /dev/input -v /run/udev/data:/run/udev/data -v $(pwd):/workdir -w /workdir -it builder cmake . | ||
- docker run --rm --device /dev/input -v /run/udev/data:/run/udev/data -v $(pwd):/workdir -w /workdir -it builder make | ||
|
||
deploy: | ||
provider: releases | ||
file: "gebaard" | ||
skip_cleanup: true | ||
on: | ||
repo: Coffee2CodeNL/gebaar-libinput | ||
tags: true | ||
api_key: | ||
secure: "<todo>" |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
[Unit] | ||
Description=Gebaar Daemon | ||
Documentation=https://github.com/Coffee2CodeNL/gebaar-libinput | ||
|
||
[Service] | ||
ExecStart=/usr/local/bin/gebaard | ||
Restart=always | ||
|
||
[Install] | ||
WantedBy=multi-user.target |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
FROM debian:stretch | ||
|
||
RUN set -ex; \ | ||
echo 'deb http://http.us.debian.org/debian/ testing non-free contrib main' > /etc/apt/sources.list.d/debian-testing.list; \ | ||
apt-get update -q; \ | ||
apt-get install -y git gcc-8 curl make cmake build-essential libinput-dev zlib1g-dev libinput-tools libsystemd-dev | ||
|