name: "CodeQL" on: push: branches: [ master ] pull_request: # The branches below must be a subset of the branches above branches: [ master ] schedule: - cron: '40 4 * * 1' jobs: analyze: name: Analyze permissions: actions: read contents: read security-events: write runs-on: ubuntu-24.04 strategy: fail-fast: false matrix: language: [ 'cpp' ] # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ] # Learn more about CodeQL language support at https://git.io/codeql-language-support steps: - name: Checkout uses: actions/checkout@v3 with: submodules: 'recursive' - name: Disable IPv6 shell: bash -l {0} run: echo "DISABLE_IPV6=1" >> $GITHUB_ENV - name: Install Dependencies shell: bash run : | sudo apt-get update sudo apt-get install -y build-essential cmake libcurl4-openssl-dev pkg-config libboost1.83-all-dev libasound-dev # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL uses: github/codeql-action/init@v3 with: languages: ${{ matrix.language }} # If you wish to specify custom queries, you can do so here or in a config file. # By default, queries listed here will override any specified in a config file. # Prefix the list here with "+" to use these queries and those in the config file. # queries: ./path/to/local/query, your-org/your-repo/queries@main - name: Compile Libraries run : | pushd lib/cryptopp/ make sudo make install popd pushd lib/pjproject cat >./pjlib/include/pj/config_site.h <