ci: add s390x big-endian test coverage (#6150)
* ci: add s390x big-endian test coverage Signed-off-by: Jatin Chauhan <chauhanjatin0404@gmail.com> * ci: install unzip for Ninja setup in Debian Signed-off-by: Jatin Chauhan <chauhanjatin0404@gmail.com> * ci: select Ninja for the outer Debian configuration Signed-off-by: Jatin Chauhan <chauhanjatin0404@gmail.com> * ci: address big-endian workflow review Signed-off-by: Jatin Chauhan <chauhanjatin0404@gmail.com> * ci: run big-endian tests on master and release pushes Signed-off-by: Jatin Chauhan <chauhanjatin0404@gmail.com> --------- Signed-off-by: Jatin Chauhan <chauhanjatin0404@gmail.com>
This commit is contained in:
1 parent
098eebd412
commit
7a67ccf6aa
3 files changed
+91
No files matched your search
@@ -2,10 +2,21 @@
|
||||
# properties on its (always-configured) INTERFACE_LIBRARY "fmt-header-only" target;
|
||||
# CMake rejected those properties on INTERFACE_LIBRARY targets before CMake 3.19
|
||||
if (${CMAKE_VERSION} VERSION_GREATER_EQUAL "3.19.0")
|
||||
# The recipe runs its executable after linking, so nested cross-builds need
|
||||
# the parent system and emulator settings as well as the compiler.
|
||||
set(FMT_CROSSCOMPILING_ARGS)
|
||||
if(CMAKE_CROSSCOMPILING)
|
||||
string(REPLACE ";" "\\;" FMT_CROSSCOMPILING_EMULATOR "${CMAKE_CROSSCOMPILING_EMULATOR}")
|
||||
list(APPEND FMT_CROSSCOMPILING_ARGS
|
||||
"-DCMAKE_SYSTEM_NAME=${CMAKE_SYSTEM_NAME}"
|
||||
"-DCMAKE_CROSSCOMPILING_EMULATOR=${FMT_CROSSCOMPILING_EMULATOR}"
|
||||
)
|
||||
endif()
|
||||
add_test(NAME fmt_formatter_configure
|
||||
COMMAND ${CMAKE_COMMAND}
|
||||
-G "${CMAKE_GENERATOR}"
|
||||
-DCMAKE_CXX_COMPILER=${CMAKE_CXX_COMPILER}
|
||||
${FMT_CROSSCOMPILING_ARGS}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/project
|
||||
)
|
||||
add_test(NAME fmt_formatter_build
|
||||
|
||||
Reference in new issue
Block a user