Skip to content

Stop manually managing http_t, use CUPS_HTTP_DEFAULT everywhere #41

Stop manually managing http_t, use CUPS_HTTP_DEFAULT everywhere

Stop manually managing http_t, use CUPS_HTTP_DEFAULT everywhere #41

Workflow file for this run

name: "CodeQL"
on:
push:
branches: [master]
pull_request:
branches: [master]
schedule:
- cron: '0 7 * * 6'
workflow_dispatch:
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
strategy:
fail-fast: false
matrix:
language: ['c']
steps:
- name: Checkout repository
uses: actions/checkout@v6
with:
submodules: recursive
- name: Update build environment
run: sudo apt-get update --fix-missing -y
- name: install prerequisites
run: |
sudo apt-get install cups libcups2-dev libglib2.0-dev autoconf autopoint libdbus-1-dev libtool -y
- name: Install cpdb-libs Version >= 2.0.0
run: |
cd ..
mkdir cpdb-libs
wget https://github.com/OpenPrinting/cpdb-libs/releases/download/2.0b8/cpdb-libs-2.0b8.tar.gz
tar -xzf cpdb-libs-2.0b8.tar.gz
cd cpdb-libs-2.0b8
./autogen.sh
./configure --prefix=/usr --enable-shared
make all
sudo make install
cd ..
cd ..
- name: Initialize CodeQL
uses: github/codeql-action/init@v4
with:
languages: ${{ matrix.language }}
queries: +security-and-quality
- name: Build
run: |
./autogen.sh && ./configure --enable-debug && make
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v4
with:
category: "/language:${{ matrix.language }}"