File: codeql-analysis.yml

package info (click to toggle)
libsodium 1.0.20-2
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 10,088 kB
  • sloc: ansic: 49,467; sh: 5,638; asm: 2,985; makefile: 917; python: 209; cs: 35; xml: 30; pascal: 11
file content (30 lines) | stat: -rw-r--r-- 610 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: "CodeQL scan"

on:
  push:
  pull_request:
  schedule:
    - cron: "0 17 * * 2"

jobs:
  CodeQL-Build:
    runs-on: ubuntu-latest

    steps:
      - name: Checkout repository
        uses: actions/checkout@v4
        with:
          fetch-depth: 2

      - name: Initialize CodeQL
        uses: github/codeql-action/init@v2
        with:
          languages: cpp

      - run: |
          ./autogen.sh -s
          env CPPFLAGS="-DDEV_MODE=1" ./configure --disable-dependency-tracking
          make -j $(nproc) check

      - name: Perform CodeQL Analysis
        uses: github/codeql-action/analyze@v2