From 0483a099863cc2c1bd77274620a3fa51c6601cfd 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 | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 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..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