2021-03-11 04:31:15 +00:00
|
|
|
name: "CodeQL"
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches: [ 4.0release, develop ]
|
|
|
|
pull_request:
|
|
|
|
# The branches below must be a subset of the branches above
|
|
|
|
branches: [ 4.0release, develop ]
|
|
|
|
schedule:
|
2021-07-17 11:16:26 +00:00
|
|
|
# '20 19 * * 6' means 'At 19:20, only on Saturday' @see https://crontab.cronhub.io/
|
|
|
|
- cron: '20 19 * * 6'
|
2021-03-11 04:31:15 +00:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
analyze:
|
2021-08-14 12:38:01 +00:00
|
|
|
name: codeql-analyze
|
2021-03-11 04:31:15 +00:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
strategy:
|
|
|
|
fail-fast: false
|
|
|
|
matrix:
|
|
|
|
language: [ 'cpp' ]
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: Checkout repository
|
|
|
|
uses: actions/checkout@v2
|
|
|
|
|
|
|
|
# Initializes the CodeQL tools for scanning.
|
|
|
|
- name: Initialize CodeQL
|
|
|
|
uses: github/codeql-action/init@v1
|
|
|
|
with:
|
|
|
|
languages: ${{ matrix.language }}
|
|
|
|
|
|
|
|
- name: Build SRS
|
|
|
|
run: |
|
2021-03-11 04:33:01 +00:00
|
|
|
cd trunk && ./configure && make
|
2021-03-11 04:31:15 +00:00
|
|
|
|
|
|
|
- name: Perform CodeQL Analysis
|
|
|
|
uses: github/codeql-action/analyze@v1
|