From 6eefa5f9e5406c49690b8fd8f919db3125f11a5e Mon Sep 17 00:00:00 2001 From: scivision Date: Sun, 5 May 2024 19:28:44 -0400 Subject: [PATCH] ci:apple: disable test_runner due to GA glitch --- test/mpi/CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/mpi/CMakeLists.txt b/test/mpi/CMakeLists.txt index 4381848..36e531a 100644 --- a/test/mpi/CMakeLists.txt +++ b/test/mpi/CMakeLists.txt @@ -22,11 +22,15 @@ if(${name} STREQUAL "string_read") endif() add_test(NAME ${tname} COMMAND ${cmd}) +set_property(TEST ${tname} PROPERTY DISABLED $,$>>) endfunction(mpi_test) # --- test files +if(APPLE AND "$ENV{GITHUB_ACTIONS}") + message(WARNING "Skipping MPI test_runner due to build quirk in GitHub Actions") +else() add_executable(test_runner runner.f90 ${PROJECT_SOURCE_DIR}/benchmark/partition.f90 ${PROJECT_SOURCE_DIR}/benchmark/cli.f90 @@ -37,6 +41,7 @@ target_include_directories(test_runner PRIVATE ${PROJECT_SOURCE_DIR}/benchmark) if(CMAKE_Fortran_COMPILER_ID MATCHES "^Intel") set_property(TARGET test_runner PROPERTY LINKER_LANGUAGE Fortran) endif() +endif() # --- MPI tests