diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2020-09-09 13:48:15 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-09 13:48:15 +0200 |
commit | 443550401edd019ee8562d7f25b416c925a86b93 (patch) | |
tree | 7469dc61ac4be6cfe18e1d1c101e767fd978ad85 | |
parent | b66535053dd0bc682560b8c21facdbc983f57803 (diff) | |
parent | 4d72373e8f9648b3c148478dbfdbfb1a82cc9799 (diff) | |
download | ATCD-443550401edd019ee8562d7f25b416c925a86b93.tar.gz |
Merge pull request #1236 from jwillemsen/jwi-codeql
Add CodeQL configuration as test
-rw-r--r-- | .github/workflows/linux.yml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 2b174e7523d..5157d0414d4 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -105,6 +105,12 @@ jobs: os: ubuntu-20.04 optional_feature: uses_wchar=1 optional_macros: inline=0 + - feature: CodeQL + CC: gcc-10 + CXX: g++-10 + PackageDeps: g++-10 + platform_file: include $(ACE_ROOT)/include/makeinclude/platform_linux.GNU + os: ubuntu-20.04 runs-on: ${{ matrix.os }} name: ${{ matrix.os }} ${{ matrix.CXX }} ${{ matrix.feature }} env: @@ -161,6 +167,11 @@ jobs: '${{ matrix.optional_feature }}' >> ${env:ACE_ROOT}/bin/MakeProjectCreator/config/default.features if: matrix.optional_feature != '' shell: pwsh + - name: initialize CodeQL + uses: github/codeql-action/init@v1 + with: + languages: cpp + if: matrix.feature == 'CodeQL' - name: Run mwc.pl on $(TAO_ROOT)/TAO_ACE.mwc run: | perl ${env:ACE_ROOT}/bin/mwc.pl -type gnuace ${env:TAO_ROOT}/TAO_ACE.mwc -workers 4 @@ -177,3 +188,6 @@ jobs: run: | make -j 6 -C ${env:ACE_ROOT}/tests shell: pwsh + - name: Perform CodeQL Analysis + uses: github/codeql-action/analyze@v1 + if: matrix.feature == 'CodeQL' |