From 76328b352aa70efb90874c92aa76ec67b28a73f0 Mon Sep 17 00:00:00 2001 From: havencarlson Date: Fri, 20 May 2022 15:42:23 -0400 Subject: [PATCH] Fix #21, Added codeql-build.yml --- .github/workflows/codeql-build.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/codeql-build.yml diff --git a/.github/workflows/codeql-build.yml b/.github/workflows/codeql-build.yml new file mode 100644 index 0000000..463e7df --- /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: astrogeco/cFS/.github/workflows/codeql-reusable.yml@update-code-ql + with: + component-path: apps/ds + prep: 'make prep; make -C build/tools/elf2cfetbl' + make: 'make -C build/native/default_cpu1/apps/ds' + 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 ds)" sample_defs/targets.cmake