summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorRodrigo Arias Mallo <rodarima@gmail.com>2023-12-11 00:10:37 +0100
committerrodarima <rodarima@gmail.com>2023-12-11 01:14:52 +0100
commit9aec1973187a0ca0440d2a4e5246e1a2fbe7da50 (patch)
tree7f6794d145568e8288176dcaedc3db43577181b1 /.github/workflows
parent48e22e5e4faf6aafa2ba84a8eadc51fd239ee224 (diff)
Add CI with GitHub Actions
For now we only do a build and distcheck. The check target is also run but there are no checks yet.
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/build.yml29
1 files changed, 29 insertions, 0 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
new file mode 100644
index 00000000..6230d035
--- /dev/null
+++ b/.github/workflows/build.yml
@@ -0,0 +1,29 @@
+name: CI
+
+on:
+ push:
+ branches:
+ - master
+ pull_request:
+ branches:
+ - master
+
+jobs:
+ build:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v1
+ with:
+ fetch-depth: 1
+ - name: Install FLTK
+ run: sudo apt install -y libfltk1.3-dev
+ - name: autogen
+ run: ./autogen.sh
+ - name: configure
+ run: ./configure
+ - name: make
+ run: make
+ - name: make check
+ run: make check
+ - name: make distcheck
+ run: make distcheck