Update codeql.yml
This commit is contained in:
13
.github/workflows/codeql.yml
vendored
13
.github/workflows/codeql.yml
vendored
@ -1,10 +1,8 @@
|
|||||||
name: CodeQL
|
name: CodeQL
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
schedule:
|
||||||
branches: [ master ]
|
- cron: "0 0 * * 1" # every Monday
|
||||||
pull_request:
|
|
||||||
branches: [ master ]
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
codeql:
|
codeql:
|
||||||
@ -42,16 +40,11 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
languages: cpp
|
languages: cpp
|
||||||
|
|
||||||
- name: Build init
|
|
||||||
run: |
|
|
||||||
bash build.sh init
|
|
||||||
|
|
||||||
- name: Build project
|
- name: Build project
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
rm -rf build_debug
|
rm -rf build_debug
|
||||||
bash build.sh debug
|
bash build.sh debug --init --make -j3
|
||||||
cd build_debug && make -j4 && cd -
|
|
||||||
|
|
||||||
- name: Perform CodeQL Analysis
|
- name: Perform CodeQL Analysis
|
||||||
uses: github/codeql-action/analyze@v2
|
uses: github/codeql-action/analyze@v2
|
||||||
|
Reference in New Issue
Block a user