diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2020-09-09 11:14:18 +0200 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2020-09-09 11:14:18 +0200 |
commit | 4d72373e8f9648b3c148478dbfdbfb1a82cc9799 (patch) | |
tree | 2a832b56e495494e60acd2b0eca57bb2228bcd6d /.github | |
parent | 14d3e012d5632d4932f1a5045241b934a0956e33 (diff) | |
download | ATCD-4d72373e8f9648b3c148478dbfdbfb1a82cc9799.tar.gz |
Add CodeQL configuration as test
* .github/workflows/linux.yml:
Diffstat (limited to '.github')
-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' |