18
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-12-01 10:37:07 +01:00
Files
maszyna/.github/workflows
jerrrrycho 6aa6b077bf ci: Sonar input without compiling; no AVX2 for master only; unit tests in the AVX2 build
Build (the input of the SonarQube Cloud analysis): the analyzer needs the compile
commands and the headers, not the objects, so the job no longer compiles under the
Build Wrapper. CMake writes compile_commands.json at configure time
(CMAKE_EXPORT_COMPILE_COMMANDS), together with the headers the project generates;
glslang's build_info.h is made by its own small target. The database goes where
sonar.yml reads it (bw-output/), so the trusted workflow is unchanged. build/CMakeFiles
is packed now: it holds cmake_pch.hxx, which the commands include.

Build binaries: the variant without AVX2 is built for master only (pushes to master,
pull requests into master, i.e. staging into master) and by a manual run; branch
downloads have the AVX2 build and point to build-master for the other one. A pull
request into master from this repository builds again (both variants, the merge),
as the check before a release. The variant without AVX2 builds no unit tests
(-DWITH_TESTS=OFF, no lua51.dll): they run in the AVX2 build of the same commit.
The matrix comes from the `changes` job.
2026-11-29 10:48:12 +01:00
..