]>
Commit | Line | Data |
---|---|---|
c25aa7cd PP |
1 | name: "CodeQL" |
2 | ||
3 | on: | |
4 | workflow_dispatch: | |
5 | schedule: | |
6 | - cron: '21 3 * * 1' | |
7 | ||
8 | env: | |
9 | docker-registry: docker.pkg.github.com | |
10 | ||
11 | jobs: | |
12 | analyze: | |
13 | name: Analyze | |
14 | runs-on: ubuntu-latest | |
15 | ||
16 | steps: | |
17 | - name: Check out repository | |
18 | uses: actions/checkout@v2 | |
19 | with: | |
20 | fetch-depth: 0 | |
21 | ||
22 | # Initializes the CodeQL tools for scanning. | |
23 | - name: Initialize CodeQL | |
24 | uses: github/codeql-action/init@v1 | |
25 | with: | |
26 | languages: 'cpp' | |
27 | ||
28 | - name: Build | |
29 | run: | | |
30 | mkdir build | |
31 | cd build | |
32 | cmake .. -DREGEX_BACKEND=pcre -DDEPRECATE_HARD=ON -DUSE_BUNDLED_ZLIB=ON | |
33 | cmake --build . | |
34 | ||
35 | - name: Perform CodeQL Analysis | |
36 | uses: github/codeql-action/analyze@v1 |