From 0e89c86d20bc5a4720b78c292119fe474958c741 Mon Sep 17 00:00:00 2001 From: Rodrigo Arias Mallo Date: Mon, 11 Dec 2023 00:10:37 +0100 Subject: [PATCH] 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. --- .github/workflows/build.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 00000000..8d7fd913 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,23 @@ +name: CI + +on: [push, pull_request] + +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