-
Notifications
You must be signed in to change notification settings - Fork 2.3k
cmake CI tests refactor #4406
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cmake CI tests refactor #4406
Conversation
- Create new .github/workflows/cmake-tests.yml with all cmake-related jobs - Move cmake-build-and-test-check, cmake-source-directory-with-spaces, and cmake-visual-2022 jobs - Remove cmake tests from dev-short-tests.yml to improve organization - Maintain same trigger conditions and test configurations - Add dedicated concurrency group for cmake tests This separation allows cmake tests to run independently and makes the CI configuration more modular and easier to maintain.
62b0737
to
b922774
Compare
and comment out windows arm64 tests due to unacceptably long queue time
38fb11b
to
9c866c9
Compare
should reproduce facebook#4405 and fail
646305e
to
75abb8b
Compare
So far, I've been able to reproduce the issue described in #4405, Specifically, whenever I change the script to fix the @ThomasDevoogdt : so far, I've not been able to have the new |
- Split monolithic 235-line CMakeLists.txt into focused modules - Main file reduced to 78 lines with clear section organization - Created 5 specialized modules: * ZstdVersion.cmake - CMake policies and version management * ZstdOptions.cmake - Build options and platform configuration * ZstdDependencies.cmake - External dependency management * ZstdBuild.cmake - Build targets and validation * ZstdPackage.cmake - Package configuration generation Benefits: - Improved readability and maintainability - Better separation of concerns - Easier debugging and modification - Preserved 100% backward compatibility - All existing build options and targets unchanged The refactored build system passes all tests and maintains identical functionality while being much easier to understand and maintain.
d15a83b
to
e6c738b
Compare
@Cyan4973 I checked your branch:
Compilation seems to be fine with the proposed changes. Btw, Buildroot explicitly exports CXX to My fault that I broke something for Windows, but I also can't fix/check anything there, as I don't have access right now to any Windows PC. |
e6c738b
to
11838e0
Compare
More specifically, the combination that fails now is Windows + Visual + clang-cl |
b11377f
to
49fe2ec
Compare
72b59f0
to
b6dc292
Compare
by removing processing of resource files in this case
OK, all issues seem finally fixed now |
Still fine! |
overkill and leaky to transport a test result just in one place.
cmake
tests in CIcmake
build error reported in Recent commit break cmake building on Windows #4405cmake
script for improved readability