File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -3,14 +3,18 @@ add_library(int_iterator OBJECT lib.cpp)
33target_compile_features (int_iterator PUBLIC cxx_std_20)
44target_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} " ))
68add_executable (int_iterator_fortran main.f90)
79target_link_libraries (int_iterator_fortran PRIVATE int_iterator)
10+ set_property (TARGET int_iterator_fortran PROPERTY LINKER_LANGUAGE Fortran)
811add_test (NAME IntegerIteratorFortran COMMAND int_iterator_fortran)
12+ endif ()
913
1014add_executable (int_iterator_cpp main.cpp)
1115target_link_libraries (int_iterator_cpp PRIVATE int_iterator)
1216add_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 )
You can’t perform that action at this time.
0 commit comments