Skip to content

Commit 71d2ff4

Browse files
authored
Merge pull request #25 from havencarlson/codeql
Fix #24, Added codeql-build.yml
2 parents b0e3c20 + e773b41 commit 71d2ff4

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/codeql-build.yml

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: CodeQl Analysis
2+
3+
on:
4+
push:
5+
pull_request:
6+
7+
8+
jobs:
9+
codeql:
10+
name: Codeql Analysis
11+
uses: nasa/cFS/.github/workflows/codeql-reusable.yml@main
12+
with:
13+
component-path: apps/mm
14+
prep: 'make prep; make -C build/tools/elf2cfetbl'
15+
make: 'make -C build/native/default_cpu1/apps/mm'
16+
setup: |
17+
cp ./cfe/cmake/Makefile.sample Makefile && cp -r ./cfe/cmake/sample_defs sample_defs
18+
sed -i "/list(APPEND MISSION_GLOBAL_APPLIST/a list(APPEND MISSION_GLOBAL_APPLIST mm)" sample_defs/targets.cmake

0 commit comments

Comments
 (0)