Skip to content

Commit 59e8003

Browse files
committed
ci:GA workaround
1 parent 6234947 commit 59e8003

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

test/iterator/CMakeLists.txt

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,18 @@ add_library(int_iterator OBJECT lib.cpp)
33
target_compile_features(int_iterator PUBLIC cxx_std_20)
44
target_include_directories(int_iterator PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
55

6+
# glitch in arm64 GitHub Actions. Happened on other projects too (h5fortran-mpi)
7+
if(NOT (APPLE AND "$ENV{GITHUB_ACTIONS}"))
68
add_executable(int_iterator_fortran main.f90)
79
target_link_libraries(int_iterator_fortran PRIVATE int_iterator)
10+
set_property(TARGET int_iterator_fortran PROPERTY LINKER_LANGUAGE Fortran)
811
add_test(NAME IntegerIteratorFortran COMMAND int_iterator_fortran)
12+
endif()
913

1014
add_executable(int_iterator_cpp main.cpp)
1115
target_link_libraries(int_iterator_cpp PRIVATE int_iterator)
1216
add_test(NAME IntegerIteratorCpp COMMAND int_iterator_cpp)
1317

14-
set_tests_properties(IntegerIteratorFortran IntegerIteratorCpp
15-
PROPERTIES DISABLED true
16-
)
18+
get_property(tests DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} PROPERTY TESTS)
19+
# in work, may not be correct algorithms
20+
set_tests_properties(${tests} PROPERTIES DISABLED true)

0 commit comments

Comments
 (0)