Skip to content

Commit df4432c

Browse files
authored
Merge pull request #22 from havencarlson/codeql
Fix #21, Added codeql-build.yml
2 parents 870ec33 + f65ace7 commit df4432c

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/codeql-build.yml

Lines changed: 18 additions & 0 deletions
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/ds
14+
prep: 'make prep; make -C build/tools/elf2cfetbl'
15+
make: 'make -C build/native/default_cpu1/apps/ds'
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 ds)" sample_defs/targets.cmake

0 commit comments

Comments
 (0)