From 5d42570e4b7ed3d1c6722e86678e95aba1d07e70 Mon Sep 17 00:00:00 2001 From: Antti Korpimäki Date: Fri, 25 Jun 2021 19:29:04 +0200 Subject: 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. --- .github/workflows/ci.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/ci.yml (limited to '.github/workflows') 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 -- cgit v1.3-2-g0d8e