This is an automated email from the ASF dual-hosted git repository.

haonan pushed a commit to branch test_codeql
in repository https://gitbox.apache.org/repos/asf/iotdb.git


The following commit(s) were added to refs/heads/test_codeql by this push:
     new d0b7bc728b8 Update codeql.yml
d0b7bc728b8 is described below

commit d0b7bc728b8fd3cac0781babf785a81ff727bd1a
Author: Haonan <[email protected]>
AuthorDate: Tue Jul 9 15:08:40 2024 +0800

    Update codeql.yml
---
 .github/workflows/codeql.yml | 16 ++++++----------
 1 file changed, 6 insertions(+), 10 deletions(-)

diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml
index 4e94762c96d..9d5587500c3 100644
--- a/.github/workflows/codeql.yml
+++ b/.github/workflows/codeql.yml
@@ -45,7 +45,7 @@ jobs:
       matrix:
         include:
         - language: c-cpp
-          build-mode: autobuild
+          build-mode: manual
         # - language: csharp
         #   build-mode: none
         - language: java-kotlin
@@ -83,15 +83,11 @@ jobs:
     # to build your code.
     # â„šī¸ 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
-    # - if: matrix.build-mode == 'manual'
-    #   shell: bash
-    #   run: |
-    #     echo 'If you are using a "manual" build mode for one or more of the' 
\
-    #       'languages you are analyzing, replace this with the commands to 
build' \
-    #       'your code, for example:'
-    #     echo '  make bootstrap'
-    #     echo '  make release'
-    #     exit 1
+    - if: matrix.build-mode == 'manual'
+      shell: bash
+      run: |
+        sudo apt-get update && sudo apt-get install libboost-all-dev
+        ./mvnw clean package -P with-cpp -pl iotdb-client/client-cpp -am 
-DskipTests
 
     - name: Perform CodeQL Analysis
       uses: github/codeql-action/analyze@v3

Reply via email to