Skip to content

Commit

Permalink
Merge pull request nasa#30 from havencarlson/codeql
Browse files Browse the repository at this point in the history
Fix nasa#29, Added codeql-build.yml
  • Loading branch information
astrogeco authored Jun 17, 2022
2 parents 259415f + 8d7a6e4 commit 5ff1af4
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/codeql-build.yml
Original file line number Diff line number Diff line change
@@ -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/sc
prep: 'make prep; make -C build/tools/elf2cfetbl'
make: 'make -C build/native/default_cpu1/apps/sc'
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 sc)" sample_defs/targets.cmake

0 comments on commit 5ff1af4

Please sign in to comment.