Skip to content

Restore GitHub Actions workflow#142

Merged
utilForever merged 40 commits intomainfrom
restore-ci
Apr 5, 2026
Merged

Restore GitHub Actions workflow#142
utilForever merged 40 commits intomainfrom
restore-ci

Conversation

@utilForever
Copy link
Copy Markdown
Owner

@utilForever utilForever commented Apr 3, 2026

This revision includes:

  • Restore GitHub Actions workflow (Resolves Restore GitHub Actions workflow #139)
    • Update configuration files
      • Windows
      • Windows-CUDA
      • Linux
      • Linux-CUDA
      • macOS
    • Delete old configuration files
      • CodeQL

@utilForever utilForever self-assigned this Apr 3, 2026
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 4, 2026

Welcome to Codecov 🎉

Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.

Thanks for integrating Codecov - We've got you covered ☂️

@pull-request-size pull-request-size Bot added size/XL and removed size/L labels Apr 5, 2026
@utilForever utilForever marked this pull request as ready for review April 5, 2026 10:13
@utilForever utilForever requested a review from Copilot April 5, 2026 10:13
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Restores/modernizes the repository’s GitHub Actions CI workflows across Windows/Linux/macOS (including CUDA and coverage), while updating build/tooling configuration to support newer toolchains.

Changes:

  • Refreshed GitHub Actions workflows (OS/compiler/CUDA matrices, Python 3.12, newer marketplace actions) and improved CUDA install logic.
  • Updated CMake/tooling config (new CMake minimum, CUDA-related policy/flag adjustments, code coverage target fixes).
  • Minor portability/build fixes in core sources (missing standard headers) and one unit test expectation update.

Reviewed changes

Copilot reviewed 21 out of 21 changed files in this pull request and generated 6 comments.

Show a summary per file
File Description
Tests/UnitTests/VolumeParticleEmitter2Tests.cpp Updates emitter spacing and expected particle counts in a unit test.
Sources/Core/Utils/Logging.cpp Adds missing <chrono> include for time header generation.
Includes/Core/Utils/Logging.hpp Adds missing <cstdint> include for uint8_t log level enum.
Sources/Core/Geometry/Surface.cpp Adds missing <utility> include for move/exchange usage.
Sources/Core/Geometry/Sphere.cpp Adds missing <utility> include for move/exchange usage.
Includes/Core/Matrix/MatrixCSR-Impl.hpp Adds missing <utility> include (portability).
CMakeLists.txt Raises minimum CMake version and adjusts CUDA/VS-related policy/flags/options.
Builds/CMake/CodeCoverage.cmake Fixes custom target command syntax and improves post-build messaging.
.github/workflows/windows.yml Updates Windows CI matrix, actions versions, and Python setup.
.github/workflows/windows-cuda.yml Updates Windows CUDA CI matrix; improves CUDA install/path discovery; runs CUDA tests conditionally.
.github/workflows/ubuntu.yml Updates Ubuntu CI matrix and Python setup; refreshes package install step.
.github/workflows/ubuntu-cuda.yml Updates Ubuntu CUDA CI and aligns USE_CUDA option; runs CUDA tests conditionally.
.github/workflows/ubuntu-codecov.yml Modernizes Codecov upload and lcov collection.
.github/workflows/ubuntu-sonarcloud.yml Fully comments out SonarCloud workflow content (effectively disables it).
.github/workflows/macos.yml Updates macOS CI matrix and Python setup; changes runner/Xcode selections.
.github/workflows/scripts/actions/install_cuda_windows.ps1 Adds CUDA 12/13 URLs, CUDA 13 package requirements, and robust installer exit-code handling.
.github/workflows/scripts/actions/install_cuda_ubuntu.sh Adds CUDA “compiler” package to installed set.
.github/workflows/codeql-analysis.yml Removes CodeQL scanning workflow.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/ubuntu-sonarcloud.yml
Comment thread .github/workflows/ubuntu-codecov.yml
Comment thread .github/workflows/windows.yml
Comment thread .github/workflows/windows-cuda.yml
Comment thread CMakeLists.txt
Comment thread .github/workflows/windows.yml
utilForever and others added 13 commits April 5, 2026 21:37
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Skip CUDA unit test execution when the runner has no CUDA-capable GPU, while still running tests when GPU is available.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@utilForever utilForever merged commit 275f23d into main Apr 5, 2026
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Restore GitHub Actions workflow

2 participants