summaryrefslogtreecommitdiffstatshomepage
path: root/.github/workflows/ci.yml
blob: 986682c9873224eeabe33459a27995e72e7725a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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