Fix cupsJWTSign for EC with GNU TLS. #692
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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@v5 | |
| 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 libpng-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-maintainer --with-tls=openssl --with-sanitizer=address || (cat config.log; pkg-config --list-all; exit 1) | |
| - name: Make libcups | |
| run: make | |
| - name: Test libcups | |
| env: | |
| ASAN_OPTIONS: leak_check_at_exit=false | |
| CUPS_DEBUG_LOG: test-debug.log | |
| CUPS_DEBUG_LEVEL: 4 | |
| run: make test || (cat cups/test*.log; test tools/test.log && cat tools/test*.log; exit 1) | |
| build-linux-gnutls: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout libcups | |
| uses: actions/checkout@v5 | |
| 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 libpng-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-maintainer --with-tls=gnutls --with-sanitizer=address || (cat config.log; pkg-config --list-all; exit 1) | |
| - name: Make libcups | |
| run: make | |
| - name: Test libcups | |
| env: | |
| ASAN_OPTIONS: leak_check_at_exit=false | |
| CUPS_DEBUG_LOG: test-debug.log | |
| CUPS_DEBUG_LEVEL: 4 | |
| run: make test || (cat cups/test*.log; test tools/test.log && cat tools/test*.log; exit 1) | |
| build-macos: | |
| runs-on: macos-latest | |
| steps: | |
| - name: Checkout libcups | |
| uses: actions/checkout@v5 | |
| with: | |
| submodules: recursive | |
| - name: Configure libcups | |
| run: ./configure --enable-debug --enable-maintainer --with-sanitizer=address || (cat config.log; pkg-config --list-all; exit 1) | |
| - name: Make libcups | |
| run: make | |
| - name: Test libcups | |
| env: | |
| CUPS_DEBUG_LOG: test-debug.log | |
| CUPS_DEBUG_LEVEL: 4 | |
| run: make test || (cat cups/test*.log; test tools/test.log && cat tools/test*.log; exit 1) | |
| build-windows: | |
| runs-on: windows-latest | |
| steps: | |
| - name: Checkout libcups | |
| uses: actions/checkout@v5 | |
| 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 | |
| - name: Test libcups | |
| run: cd vcnet; ./runtests.bat |