Skip to content

Commit

Permalink
Merge pull request nasa#180 from ArielSAdamsNASA/CodeQL
Browse files Browse the repository at this point in the history
Fix nasa#178, Remove debug build in CodeQL
  • Loading branch information
astrogeco committed Feb 16, 2021
2 parents fd40b9e + 676f3f0 commit b24c5fe
Showing 1 changed file with 11 additions and 15 deletions.
26 changes: 11 additions & 15 deletions .github/workflows/codeql-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,31 +5,27 @@ on:
pull_request:
branches:
- main

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
timeout-minutes: 15
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: Check versions
run: |
git log -1 --pretty=oneline
Expand All @@ -38,8 +34,8 @@ jobs:
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
with:
languages: c
config-file: ./.github/codeql/codeql-config.yml
languages: c
config-file: ./.github/codeql/codeql-config.yml

# Setup the build system
- name: Copy sample_defs
Expand All @@ -49,8 +45,8 @@ jobs:
# Setup the build system
- name: Make Install
run: make
# Run CodeQL
run: make

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

0 comments on commit b24c5fe

Please sign in to comment.