From ea10fb813e69f4dbb315e8adcd1e47b56973d274 Mon Sep 17 00:00:00 2001 From: Dan Mahoney Date: Tue, 26 May 2026 16:21:37 -0700 Subject: [PATCH] ci: add GitHub Actions CI workflow --- .github/workflows/ci.yml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 00000000..5d1e04c4 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,34 @@ +name: CI + +on: + push: + branches: [ develop ] + pull_request: + branches: [ develop ] + workflow_dispatch: + +jobs: + build-linux: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + + - name: Install dependencies + run: | + sudo apt-get update -q + sudo apt-get install -y \ + autoconf automake libtool pkg-config \ + libssl-dev libmilter-dev + + - name: Bootstrap build system + run: autoreconf -fvi + + - name: Configure + run: ./configure CFLAGS='-g -O2 -Wno-pointer-sign' + + - name: Build + run: make -j$(nproc) + + - name: Test + run: make check