summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2020-09-09 13:48:15 +0200
committerGitHub <noreply@github.com>2020-09-09 13:48:15 +0200
commit443550401edd019ee8562d7f25b416c925a86b93 (patch)
tree7469dc61ac4be6cfe18e1d1c101e767fd978ad85 /.github
parentb66535053dd0bc682560b8c21facdbc983f57803 (diff)
parent4d72373e8f9648b3c148478dbfdbfb1a82cc9799 (diff)
downloadATCD-443550401edd019ee8562d7f25b416c925a86b93.tar.gz
Merge pull request #1236 from jwillemsen/jwi-codeql
Add CodeQL configuration as test
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/linux.yml14
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'