Stop manually managing http_t, use CUPS_HTTP_DEFAULT everywhere #41
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: "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 }}" |