Skip to content

Commit

Permalink
Fix #178, Remove debug build in CodeQL
Browse files Browse the repository at this point in the history
  • Loading branch information
arielswalker committed Feb 8, 2021
1 parent dc33b04 commit 676f3f0
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions .github/workflows/codeql-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,23 +10,19 @@ env:
SIMULATION: native
ENABLE_UNIT_TESTS: true
OMIT_DEPRECATED: true
BUILDTYPE: release

jobs:

CodeQL-Build:

strategy:
matrix:
buildtype: [debug, release]

runs-on: ubuntu-18.04
env:
BUILDTYPE: ${{ matrix.buildtype }}

steps:
# Checks out a copy of your repository on the ubuntu-latest machine
# Checks out a copy of your repository
- name: Checkout code
uses: actions/checkout@v2
with:
repository: nasa/cFS
submodules: true

- name: Initialize CodeQL
Expand All @@ -40,7 +36,7 @@ jobs:
run: |
cp ./cfe/cmake/Makefile.sample Makefile
cp -r ./cfe/cmake/sample_defs sample_defs
# Setup the build system
- name: Make Install
run: make install
Expand All @@ -55,5 +51,6 @@ jobs:
../host/cmdUtil --endian=LE --pktid=0x1806 --cmdcode=2 --half=0x0002
working-directory: ./build/exe/cpu1/

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

0 comments on commit 676f3f0

Please sign in to comment.