# - https://gh.io/supported-runners-and-hardware-resources
# - https://gh.io/using-larger-runners (GitHub.com only)
# Consider using larger runners or machines with greater resources for possible analysis time improvements.
- runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}
+ runs-on: ubuntu-22.04
permissions:
# required for all workflows
security-events: write
matrix:
include:
- language: c-cpp
- build-mode: autobuild
+ build-mode: manual
- language: python
build-mode: none
# CodeQL supports the following values keywords for 'language': 'actions', 'c-cpp', 'csharp', 'go', 'java-kotlin', 'javascript-typescript', 'python', 'ruby', 'swift'
- if: matrix.build-mode == 'manual'
shell: bash
run: |
- echo 'If you are using a "manual" build mode for one or more of the' \
- 'languages you are analyzing, replace this with the commands to build' \
- 'your code, for example:'
- echo ' make bootstrap'
- echo ' make release'
- exit 1
+ bash bootstrap/generated-dists/ubuntu2204/bootstrap.sh
+ ./configure
+ make -j4
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3