From 10f51d63bbc022c054475864b7e73940f1bbbb6d Mon Sep 17 00:00:00 2001 From: Ilya Shipitsin Date: Sun, 6 Oct 2024 12:32:24 +0200 Subject: [PATCH] CI: add some basic GitHub actions (#181) * CI: add some basic GitHub actions * do not treat warnings as errors --- .github/workflows/main.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..cf9dd1b --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,27 @@ +on: [ push, workflow_dispatch ] + +permissions: + contents: read + +jobs: + Test: + strategy: + matrix: + cc: [ gcc, clang ] + fail-fast: false + name: ${{ matrix.cc }} + runs-on: ubuntu-24.04 + steps: + - uses: actions/checkout@v4 + - name: Install apt dependencies + run: | + sudo apt-get update + sudo apt-get install -y libltdl-dev + - name: configure + run: | + autoreconf -iv + CC=${{ matrix.cc }} ./configure + - name: build + run: | + ##make AM_MAKEFLAGS=CFLAGS=-Werror + make