Skip to content

Commit 6eefa5f

Browse files
committed
ci:apple: disable test_runner due to GA glitch
1 parent 835edf5 commit 6eefa5f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

test/mpi/CMakeLists.txt

+5
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,15 @@ if(${name} STREQUAL "string_read")
2222
endif()
2323

2424
add_test(NAME ${tname} COMMAND ${cmd})
25+
set_property(TEST ${tname} PROPERTY DISABLED $<AND:$<BOOL:${use_runner}>,$<NOT:$<TARGET_EXISTS:test_runner>>>)
2526

2627
endfunction(mpi_test)
2728

2829
# --- test files
2930

31+
if(APPLE AND "$ENV{GITHUB_ACTIONS}")
32+
message(WARNING "Skipping MPI test_runner due to build quirk in GitHub Actions")
33+
else()
3034
add_executable(test_runner runner.f90
3135
${PROJECT_SOURCE_DIR}/benchmark/partition.f90
3236
${PROJECT_SOURCE_DIR}/benchmark/cli.f90
@@ -37,6 +41,7 @@ target_include_directories(test_runner PRIVATE ${PROJECT_SOURCE_DIR}/benchmark)
3741
if(CMAKE_Fortran_COMPILER_ID MATCHES "^Intel")
3842
set_property(TARGET test_runner PROPERTY LINKER_LANGUAGE Fortran)
3943
endif()
44+
endif()
4045

4146

4247
# --- MPI tests

0 commit comments

Comments
 (0)