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