diff options
author | Saturneric <[email protected]> | 2022-03-12 13:06:50 +0000 |
---|---|---|
committer | Saturneric <[email protected]> | 2022-03-12 13:06:50 +0000 |
commit | d3a316fd31498bb7bf55fe28623b4623c3f5e858 (patch) | |
tree | 99f58a6d7428f986e6a330bce63d920827ee0f72 | |
parent | <fix>(ci): Fix the problem of MinGW compilation (diff) | |
download | GpgFrontend-d3a316fd31498bb7bf55fe28623b4623c3f5e858.tar.gz GpgFrontend-d3a316fd31498bb7bf55fe28623b4623c3f5e858.zip |
<fix>(ci): Fix code inspection build issues
1. update according to debug.ci
-rw-r--r-- | .github/workflows/codeql-analysis.yml | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 8c123189..5ecd6340 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -45,6 +45,8 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v2 + with: + submodules: recursive # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL @@ -60,8 +62,8 @@ jobs: run: | sudo apt-get update sudo apt-get -y install build-essential binutils git autoconf automake gettext texinfo - sudo apt-get -y install gcc g++ libconfig++-dev libboost-all-dev - sudo apt-get -y install gpgsm + sudo apt-get -y install gcc g++ libconfig++-dev libboost-all-dev ninja-build + sudo apt-get -y install gpg - name: Cache Qt id: cache-qt @@ -78,11 +80,11 @@ jobs: - name: Configure CMake # Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make. # See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type - run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DEXECUTABLE_OUTPUT_PATH=${{env.EXECUTABLE_OUTPUT_PATH}} + run: cmake -G Ninja -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DGPGFRONTEND_BUILD_TYPE_TEST_UI=ON - name: Build GpgFrontend # Build your program with the given configuration - run: cmake --build ${{github.workspace}}/build --config {{$env.BUILD_TYPE}} -- -j 2 + run: cmake --build ${{github.workspace}}/build --config {{$env.BUILD_TYPE}} -- -v # âšī¸ Command-line programs to run using the OS shell. # đ https://git.io/JvXDl |