diff options
| author | 2021-06-25 19:29:04 +0200 | |
|---|---|---|
| committer | 2021-06-25 19:29:04 +0200 | |
| commit | 5d42570e4b7ed3d1c6722e86678e95aba1d07e70 (patch) | |
| tree | b1a179a14e1e61e2841553c1c4aa13c01010e4fe | |
| parent | 03e7d54ee8ad74264bbaeaf529a4692dbd75de5c (diff) | |
| download | xkbcat-5d42570e4b7ed3d1c6722e86678e95aba1d07e70.tar.gz xkbcat-5d42570e4b7ed3d1c6722e86678e95aba1d07e70.zip | |
CI: Swap Travis for GH Actions
I think this is the right way to express this, let's see what Github's
build server thinks.
| -rw-r--r-- | .github/workflows/ci.yml | 25 | ||||
| -rw-r--r-- | .travis.yml | 13 |
2 files changed, 25 insertions, 13 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..da0039f --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,25 @@ +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: + 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 |
