From 609c9e10e646fd9129a8ada22f28dbf33dd8eb7b Mon Sep 17 00:00:00 2001 From: Nayanjyoti Das Date: Sat, 14 Mar 2026 11:21:59 +0530 Subject: [PATCH] Add GitHub Actions workflow for libppd --- .github/workflows/build.yml | 39 +++++++++++++++++++++++++++++++++++++ 1 file changed, 39 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..5674c815 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,39 @@ +name: Build libppd + +on: + push: + pull_request: + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Install dependencies + run: | + sudo apt-get update + sudo apt-get install -y \ + build-essential \ + autoconf \ + automake \ + autopoint \ + gettext \ + libtool \ + pkg-config \ + libcups2-dev \ + libcupsfilters-dev \ + ghostscript \ + poppler-utils \ + mupdf-tools + + - name: Build project + run: | + ./autogen.sh + ./configure + make + + - name: Run tests + run: make check \ No newline at end of file