Skip to content

Update libcups.

Update libcups. #287

Workflow file for this run

name: Build and Test
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
workflow_dispatch:
jobs:
build-linux-static-openssl:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
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 cppcheck libavahi-client-dev libpam-dev libssl-dev zlib1g-dev
- name: Configure
env:
CC: /usr/bin/gcc
run: ./configure --enable-debug --enable-maintainer --enable-sanitizer --enable-static --disable-shared --with-tls=openssl
- name: Make
run: make
- name: Test
run: make test || cat test/test-ippserver.log
build-linux-shared-gnutls:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
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 cppcheck libavahi-client-dev libpam-dev libgnutls28-dev zlib1g-dev
- name: Configure
env:
CC: /usr/bin/gcc
run: ./configure --enable-debug --enable-maintainer --enable-sanitizer --enable-static --enable-shared --with-tls=gnutls
- name: Make
run: make
- name: Test
run: make test || cat test/test-ippserver.log
build-macos:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Install prerequisites
run: brew install cppcheck openssl@3
- name: Configure
run: ./configure --enable-debug --enable-maintainer --enable-sanitizer --enable-static --disable-shared
- name: Make
run: make
- name: Test
run: make test || cat test/test-ippserver.log
build-windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Setup msbuild
uses: microsoft/setup-msbuild@v1.0.2
- name: Restore NuGet packages
run: cd vcnet; nuget restore ippsample.sln; cd ..\libcups\vcnet; nuget restore libcups.sln
- name: Build
run: cd vcnet; msbuild ippsample.sln