Skip to content

Fix build scripts to use PAPPL 1.4.x. #134

Fix build scripts to use PAPPL 1.4.x.

Fix build scripts to use PAPPL 1.4.x. #134

Workflow file for this run

name: Build
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: update build environment
run: sudo apt-get update --fix-missing -y
- name: install prerequisites
run: sudo apt-get install -y avahi-daemon cppcheck libavahi-client-dev libcups2-dev libcupsimage2-dev libgnutls28-dev libjpeg-dev libpam-dev libpng-dev libusb-1.0-0-dev zlib1g-dev
- name: install PAPPL
run: git clone https://github.com/michaelrsweet/pappl.git && cd pappl && ./configure --enable-debug && make && sudo make install
- name: configure
env:
CC: /usr/bin/gcc
run: ./configure --enable-debug --enable-maintainer
- name: make
run: make
build-macos:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- name: install prerequisites
run: brew install cppcheck libjpeg libpng libusb openssl@3 pkg-config
- name: install PAPPL
run: git clone -b v1.4.x https://github.com/michaelrsweet/pappl.git && cd pappl && ./configure --enable-debug && make && sudo make install
- name: configure
run: ./configure --enable-debug --enable-maintainer --enable-sanitizer
- name: make
run: make