Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
135 changes: 0 additions & 135 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}