diff --git a/.github/workflows/codeql-build.yml b/.github/workflows/codeql-build.yml new file mode 100644 index 0000000..48870e2 --- /dev/null +++ b/.github/workflows/codeql-build.yml @@ -0,0 +1,18 @@ +name: CodeQl Analysis + +on: + push: + pull_request: + + +jobs: + codeql: + name: Codeql Analysis + uses: nasa/cFS/.github/workflows/codeql-reusable.yml@main + with: + component-path: apps/lc + prep: 'make prep; make -C build/tools/elf2cfetbl' + make: 'make -C build/native/default_cpu1/apps/lc' + setup: | + cp ./cfe/cmake/Makefile.sample Makefile && cp -r ./cfe/cmake/sample_defs sample_defs + sed -i "/list(APPEND MISSION_GLOBAL_APPLIST/a list(APPEND MISSION_GLOBAL_APPLIST lc)" sample_defs/targets.cmake