summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorGravatar Antti Korpimäki2021-06-25 19:38:39 +0200
committerGravatar Antti Korpimäki2021-06-25 19:38:39 +0200
commit7250b16c9e3e40c51f43aee38de8e480c2aa8d27 (patch)
treebf663aae2e5caf1cfb1c19a9838bb1de46ccc1ab
parent03e7d54ee8ad74264bbaeaf529a4692dbd75de5c (diff)
parent1227c1790b0eb792e15a6d9f069ce7501375f3d6 (diff)
downloadxkbcat-7250b16c9e3e40c51f43aee38de8e480c2aa8d27.tar.gz
xkbcat-7250b16c9e3e40c51f43aee38de8e480c2aa8d27.zip
Merge branch 'build-with-gh-actions'
Since Travis won't run the build anymore (unless I register for the new .com one that is annoying for OSdev), going for Github Actions instead.
-rw-r--r--.github/workflows/ci.yml26
-rw-r--r--.travis.yml13
-rw-r--r--readme.markdown2
3 files changed, 27 insertions, 14 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
new file mode 100644
index 0000000..986682c
--- /dev/null
+++ b/.github/workflows/ci.yml
@@ -0,0 +1,26 @@
+name: CI
+
+on:
+ # Trigger on push and pull-request events, on any branch
+ push:
+ pull_request:
+
+ # Can be run manually from the Actions tab
+ workflow_dispatch:
+
+ # Automatically rerun at 13:00 on the 10th day of each month
+ schedule:
+ - cron: '00 13 10 * *'
+
+jobs:
+ build:
+ runs-on: ubuntu-latest
+ strategy:
+ matrix:
+ compiler: [gcc, clang]
+ steps:
+ - uses: actions/checkout@v2
+ - name: install dependencies
+ run: sudo apt-get install libx11-dev libxi-dev
+ - name: make
+ run: CC=${{ matrix.compiler }} make
diff --git a/.travis.yml b/.travis.yml
deleted file mode 100644
index 7d21caa..0000000
--- a/.travis.yml
+++ /dev/null
@@ -1,13 +0,0 @@
-dist: focal
-language: c
-compiler:
- - clang
- - gcc
-script:
- - make
-addons:
- apt:
- update: true
- packages:
- - libx11-dev
- - libxi-dev
diff --git a/readme.markdown b/readme.markdown
index 45fb9cb..34ba6b9 100644
--- a/readme.markdown
+++ b/readme.markdown
@@ -1,4 +1,4 @@
-# xkbcat [![](https://img.shields.io/travis/anko/xkbcat/master?style=flat-square)](https://travis-ci.org/anko/xkbcat) ![](https://img.shields.io/github/languages/code-size/anko/xkbcat?style=flat-square)
+# xkbcat [![](https://img.shields.io/github/workflow/status/anko/xkbcat/CI/master?style=flat-square)](https://github.com/anko/xkbcat/actions) ![](https://img.shields.io/github/languages/code-size/anko/xkbcat?style=flat-square)
Simple X11 keylogger.