1 # For most projects, this workflow file will not need changing; you simply need
2 # to commit it to your repository.
4 # You may wish to alter this file to override the set of languages analyzed,
5 # or to provide custom queries or build logic.
7 # ******** NOTE ********
8 # We have attempted to detect the languages in your repository. Please check
9 # the `language` matrix defined below to confirm you have the correct set of
10 # supported CodeQL languages.
18 # The branches below must be a subset of the branches above
26 runs-on: ubuntu-latest
30 security-events: write
35 language: [ 'cpp', 'python' ]
36 # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
37 # Learn more about CodeQL language support at https://git.io/codeql-language-support
40 - name: Update apt repos
41 run: sudo apt-get update
43 - name: Install dependencies
44 run: sudo apt-get install -yqq make autoconf build-essential ca-certificates pkg-config libreadline-dev gcc-arm-none-eabi libnewlib-dev qtbase5-dev libbz2-dev liblz4-dev libbluetooth-dev libpython3-dev python3 python3-dev libpython3-all-dev liblua5.4-dev liblua5.4-0 lua5.4 sed libssl-dev
46 - name: Checkout repository
47 uses: actions/checkout@v4
49 # Initializes the CodeQL tools for scanning.
50 - name: Initialize CodeQL
51 uses: github/codeql-action/init@v3
53 languages: ${{ matrix.language }}
54 # If you wish to specify custom queries, you can do so here or in a config file.
55 # By default, queries listed here will override any specified in a config file.
56 # Prefix the list here with "+" to use these queries and those in the config file.
57 # queries: ./path/to/local/query, your-org/your-repo/queries@main
65 PLATFORM_EXTRAS: BTADDON
66 run: make -j$((`nproc` + 1))
68 - name: Perform CodeQL Analysis
69 uses: github/codeql-action/analyze@v3