diff --git a/.github/workflows/root-ci.yml b/.github/workflows/root-ci.yml index 540752428518f..58193a333149c 100644 --- a/.github/workflows/root-ci.yml +++ b/.github/workflows/root-ci.yml @@ -111,6 +111,7 @@ jobs: - platform: mac-beta is_special: true arch: ARM64 + overrides: ["gnuinstall=ON"] runs-on: # Using '[self-hosted, ..., ...]' does not work for some reason :) - self-hosted @@ -405,8 +406,8 @@ jobs: overrides: ["runtime_cxxmodules=Off"] - image: alma9 is_special: true - property: march_native - overrides: ["CMAKE_BUILD_TYPE=RelWithDebInfo", "CMAKE_CXX_FLAGS=-march=native", "CMAKE_C_FLAGS=-march=native", "builtin_zlib=ON", "builtin_zstd=ON"] + property: "march_native, gnuinstall" + overrides: ["CMAKE_BUILD_TYPE=RelWithDebInfo", "CMAKE_CXX_FLAGS=-march=native", "CMAKE_C_FLAGS=-march=native", "builtin_zlib=ON", "builtin_zstd=ON", "gnuinstall=ON"] - image: alma9 is_special: true property: arm64 @@ -606,7 +607,7 @@ jobs: - name: CTest in post-install test project working-directory: ${{ env.POST_INSTALL_DIR }} - run: ctest -j $(nproc) + run: ctest --output-on-failure -j event_file: # For any event that is not a PR, the CI will always run. In PRs, the CI diff --git a/roottest/root/core/CMakeLists.txt b/roottest/root/core/CMakeLists.txt index ac6c03e515830..eaebc761dceb0 100644 --- a/roottest/root/core/CMakeLists.txt +++ b/roottest/root/core/CMakeLists.txt @@ -33,7 +33,10 @@ ROOTTEST_ADD_TEST(StatusBitsCheck OUTREF execStatusBitsCheck.ref) add_test(NAME root_exe_exitStatus COMMAND $ "-e invalid" "--no_exist") -set_property(TEST root_exe_exitStatus PROPERTY WILL_FAIL True) +set_tests_properties(root_exe_exitStatus PROPERTIES + WILL_FAIL True + ENVIRONMENT ROOTIGNOREPREFIX=1) add_test(NAME root_exe_errorMessage COMMAND $ "-e invalid" "--no_exist") -set_property(TEST root_exe_errorMessage PROPERTY - PASS_REGULAR_EXPRESSION "root: unrecognized option '-e invalid'.*--no_exist.*Try 'root --help'") +set_tests_properties(root_exe_errorMessage PROPERTIES + PASS_REGULAR_EXPRESSION "root: unrecognized option '-e invalid'.*--no_exist.*Try 'root --help'" + ENVIRONMENT ROOTIGNOREPREFIX=1)