Skip to content

Commit

Permalink
Merge pull request #187 from ArielSAdamsNASA/CodeQLOn
Browse files Browse the repository at this point in the history
Fix #185, Apply CodeQL to Every Branch
  • Loading branch information
astrogeco committed Feb 16, 2021
2 parents 2d25cbe + a8fde08 commit fd40b9e
Showing 1 changed file with 9 additions and 14 deletions.
23 changes: 9 additions & 14 deletions .github/workflows/codeql-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ name: "CodeQL Analysis"

on:
push:
branches:
- main
pull_request:
branches:
- main
Expand All @@ -22,6 +20,7 @@ jobs:
buildtype: [debug, release]

runs-on: ubuntu-18.04
timeout-minutes: 15
env:
BUILDTYPE: ${{ matrix.buildtype }}
steps:
Expand All @@ -30,6 +29,11 @@ jobs:
uses: actions/checkout@v2
with:
submodules: true

- name: Check versions
run: |
git log -1 --pretty=oneline
git submodule
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
Expand All @@ -45,17 +49,8 @@ jobs:
# Setup the build system
- name: Make Install
run: make install

- name: List cpu1
run: ls build/exe/cpu1/

- name: Run cFS
run: |
./core-cpu1 > cFS_startup_cpu1.txt &
sleep 30
../host/cmdUtil --endian=LE --pktid=0x1806 --cmdcode=2 --half=0x0002
working-directory: ./build/exe/cpu1/

run: make

# Run CodeQL
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1

0 comments on commit fd40b9e

Please sign in to comment.