]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#2760] Added compilation back, python checks enabled
authorTomek Mrugalski <tomek@isc.org>
Thu, 9 Mar 2023 13:51:56 +0000 (14:51 +0100)
committerTomek Mrugalski <tomek@isc.org>
Fri, 19 May 2023 11:41:01 +0000 (13:41 +0200)
.github/workflows/codeql.yml

index 373dfa5e2b895eeb18ac468f1c303dd78997d88a..3331790dbdd21fcf54e654185e96f3204fb7a37b 100644 (file)
@@ -21,9 +21,7 @@ jobs:
     strategy:
       fail-fast: false
       matrix:
-        language: [ 'cpp' ]
-        # language: ['cpp', 'python']
-        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
+        language: [ 'cpp', 'python' ]
 
     steps:
     - name: Checkout repository
@@ -54,8 +52,10 @@ jobs:
     - name: Build Kea
       run: |
         autoreconf -i
-        ./configure
-    #   make -j2
+    # We want to enable shell, so python files are generated. And CodeQL can
+    # check them.
+        ./configure --enable-shell
+        make -j2
 
     # â„šī¸ Command-line programs to run using the OS shell.
     # đŸ“š See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun