From 676f3f00d0f7d662ea851be44f1f8d174c8cb9d2 Mon Sep 17 00:00:00 2001 From: Ariel Adams Date: Wed, 27 Jan 2021 13:14:46 -0600 Subject: [PATCH] Fix #178, Remove debug build in CodeQL --- .github/workflows/codeql-build.yml | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/.github/workflows/codeql-build.yml b/.github/workflows/codeql-build.yml index e065bd205..17a9eb038 100644 --- a/.github/workflows/codeql-build.yml +++ b/.github/workflows/codeql-build.yml @@ -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 @@ -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 @@ -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