Skip to content

Commit

Permalink
Partial nasa#1225, Update cFS-build CodeQL reusable worfklow target
Browse files Browse the repository at this point in the history
changes tests input to boolean, changes source input for uses, adds new lines
component-path to osal, changes tests to test, removes makeprep input
  • Loading branch information
chillfig committed Mar 16, 2022
1 parent a173f30 commit 349ce0e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/codeql-cfe-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@ on:
jobs:
codeql:
name: CodeQl Analysis
uses: nasa/cFS/.github/workflows/codeql-build.yml@main
uses: nasa/cFS/.github/workflows/codeql-reusable.yml@main
with:
make-prep: 'make prep'
make: 'make -j native/default_cpu1/osal/'
tests: '(cd build/native/default_cpu1/osal && make test)'
component-path: osal
test: true

3 changes: 2 additions & 1 deletion .github/workflows/codeql-osal-default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,5 @@ jobs:
with:
setup: 'cd osal && cp Makefile.sample Makefile'
make-prep: 'cd osal && make prep'
make: 'cd osal && make -j'
make: 'cd osal && make -j'

0 comments on commit 349ce0e

Please sign in to comment.