diff options
| author | 2021-06-25 19:38:39 +0200 | |
|---|---|---|
| committer | 2021-06-25 19:38:39 +0200 | |
| commit | 7250b16c9e3e40c51f43aee38de8e480c2aa8d27 (patch) | |
| tree | bf663aae2e5caf1cfb1c19a9838bb1de46ccc1ab | |
| parent | 03e7d54ee8ad74264bbaeaf529a4692dbd75de5c (diff) | |
| parent | 1227c1790b0eb792e15a6d9f069ce7501375f3d6 (diff) | |
| download | xkbcat-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.yml | 26 | ||||
| -rw-r--r-- | .travis.yml | 13 | ||||
| -rw-r--r-- | readme.markdown | 2 |
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://travis-ci.org/anko/xkbcat)  +# xkbcat [](https://github.com/anko/xkbcat/actions)  Simple X11 keylogger. |
