Skip to content

Update date of 3.0rc1 release date. #524

Update date of 3.0rc1 release date.

Update date of 3.0rc1 release date. #524

Workflow file for this run

name: Build and Test
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
workflow_dispatch:
jobs:
build-linux-openssl:
runs-on: ubuntu-latest
steps:
- name: Checkout libcups
uses: actions/checkout@v4
with:
submodules: recursive
- name: Update Build Environment
run: sudo apt-get update --fix-missing -y
- name: Install Prerequisites
run: sudo apt-get install -y avahi-daemon libavahi-client-dev libssl-dev libpam-dev libusb-1.0-0-dev zlib1g-dev
- name: Start Avahi
run: sudo systemctl start avahi-daemon
- name: Configure libcups
env:
CC: /usr/bin/gcc
run: ./configure --enable-debug --enable-debug-printfs --enable-maintainer --with-tls=openssl || (cat config.log; pkg-config --list-all; exit 1)
- name: Make libcups
run: make
- name: Test libcups
run: make test || cat cups/test.log
build-linux-gnutls:
runs-on: ubuntu-latest
steps:
- name: Checkout libcups
uses: actions/checkout@v4
with:
submodules: recursive
- name: Update Build Environment
run: sudo apt-get update --fix-missing -y
- name: Install Prerequisites
run: sudo apt-get install -y avahi-daemon libavahi-client-dev libgnutls28-dev libpam-dev libusb-1.0-0-dev zlib1g-dev
- name: Start Avahi
run: sudo systemctl start avahi-daemon
- name: Configure libcups
env:
CC: /usr/bin/gcc
run: ./configure --enable-debug --enable-debug-printfs --enable-maintainer --with-tls=gnutls || (cat config.log; pkg-config --list-all; exit 1)
- name: Make libcups
run: make
- name: Test libcups
run: make test || cat cups/test.log
build-macos:
runs-on: macos-latest
steps:
- name: Checkout libcups
uses: actions/checkout@v4
with:
submodules: recursive
- name: Install prerequisites
run: brew install gnutls pkg-config
- name: Configure libcups
run: ./configure --enable-debug --enable-debug-printfs --enable-maintainer || (cat config.log; pkg-config --list-all; exit 1)
- name: Make libcups
run: make
- name: Test libcups
run: make test || cat cups/test.log
build-windows:
runs-on: windows-latest
steps:
- name: Checkout libcups
uses: actions/checkout@v4
with:
submodules: recursive
- name: Setup msbuild
uses: microsoft/setup-msbuild@v2.0.0
- name: Install Prerequisites
run: cd vcnet; nuget restore libcups.sln; cd ../pdfio; nuget restore
- name: Build libcups
run: cd vcnet; msbuild libcups.sln