From 83c760b60db5cebb7003bec792c91d7504ffde7e Mon Sep 17 00:00:00 2001 From: Vladimir Chistyakov Date: Mon, 5 Oct 2026 16:48:50 +0700 Subject: [PATCH] ci: remove codeql and analyze jobs --- .github/workflows/ci.yml | 135 --------------------------------------- 1 file changed, 135 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 08e654b..cc8572f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -279,138 +279,3 @@ jobs: run: > build/${{ matrix.build.Type }}/generators/conanbuild.ps1 && & "C:\Program Files\OpenCppCoverage\OpenCppCoverage.exe" --export_type cobertura:coverage/cobertura.xml --cover_children -- uv run ctest --preset ${{ matrix.build.preset }} - - codeql: - name: CodeQL - runs-on: ubuntu-26.04 - strategy: - matrix: - build: - - { - type: Release, - preset: conan-release - } - config: - - { - cc: gcc-15, - cxx: g++-15, - profiles: '-pr:h conan/gcc15' - } - steps: - - name: Checkout repository - uses: actions/checkout@v7 - - - name: Set environment variables - run: | - echo "CONAN_HOME=${{ runner.temp }}/.conan2" >> ${{ github.env }} - - - name: Initialize CodeQL - uses: github/codeql-action/init@v4.38.2 - with: - languages: cpp - - - name: Setup uv - uses: astral-sh/setup-uv@v7 - with: - enable-cache: true - - - name: Install dependencies - run: | - uv sync - uv run conan profile detect - - - name: Cache Conan packages - uses: actions/cache@v6 - with: - path: ${{ env.CONAN_HOME }}/p - key: conan-${{ runner.os }}-${{ matrix.config.cc }}-${{ matrix.build.type }}-${{ hashFiles('conanfile.py') }} - restore-keys: | - conan-${{ runner.os }}-${{ matrix.config.cc }}-${{ matrix.build.type }}- - conan-${{ runner.os }}-${{ matrix.config.cc }}- - conan-${{ runner.os }}- - - - name: Install Conan packages - run: > - uv run conan install . - -b missing -pr:a default ${{ matrix.config.profiles }} - -c:a tools.cmake.cmaketoolchain:generator=Ninja - -c:h tools.build:compiler_executables="{\"c\": \"${{ matrix.config.cc }}\", \"cpp\": \"${{ matrix.config.cxx }}\"}" - -s:h build_type=${{ matrix.build.type }} - - - name: Configure - run: uv run cmake --preset ${{ matrix.build.preset }} - - - name: Build - run: uv run cmake --build --preset ${{ matrix.build.preset }} --target all all_verify_interface_header_sets - - - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v4.38.2 - - analyze: - name: Analyze - runs-on: windows-2025-vs2026 - strategy: - matrix: - build: - - { - type: Release, - preset: conan-release - } - config: - - { - cc: cl, - cxx: cl, - profiles: '-pr:h conan/msvc195-md' - } - steps: - - name: Checkout repository - uses: actions/checkout@v7 - - - name: Set environment variables - run: | - echo "CONAN_HOME=${{ runner.temp }}/.conan2" >> ${{ github.env }} - - - name: Setup uv - uses: astral-sh/setup-uv@v7 - with: - enable-cache: true - activate-environment: true - - - name: Install dependencies - run: | - uv sync - uv run conan profile detect - - - name: Cache Conan packages - uses: actions/cache@v6 - with: - path: ${{ env.CONAN_HOME }}/p - key: conan-${{ runner.os }}-${{ hashFiles('conanfile.py') }} - restore-keys: conan-${{ runner.os }}- - - - name: Install Conan packages - run: > - uv run conan install . - -b missing -pr:a default ${{ matrix.config.profiles }} - -c:a tools.cmake.cmaketoolchain:generator=Ninja - -c:h tools.env.virtualenv:powershell=pwsh - -c:h tools.build:compiler_executables="{'c': '${{ matrix.config.cc }}', 'cpp': '${{ matrix.config.cxx }}'}" - -s:h build_type=${{ matrix.build.type }} - - - name: Configure - run: > - build/${{ matrix.build.type }}/generators/conanbuild.ps1 && - uv run cmake --preset ${{ matrix.build.preset }} - - - name: Run MSVC Code Analysis - uses: microsoft/msvc-code-analysis-action@main - id: run-analysis - with: - cmakeBuildDirectory: ./build/${{ matrix.build.type }} - buildConfiguration: ${{ matrix.build.type }} - ruleset: NativeRecommendedRules.ruleset - - - name: Upload SARIF to GitHub - uses: github/codeql-action/upload-sarif@v4.38.2 - with: - sarif_file: ${{ steps.run-analysis.outputs.sarif }}