summaryrefslogtreecommitdiffstatshomepage
path: root/.github/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/ci.yml25
1 files changed, 25 insertions, 0 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