File tree Expand file tree Collapse file tree 5 files changed +45
-11
lines changed Expand file tree Collapse file tree 5 files changed +45
-11
lines changed Original file line number Diff line number Diff line change 3434
3535 - uses : actions/setup-python@v2
3636 with :
37- python-version : " 3.8"
37+ python-version : ' 3.10'
38+
39+ - name : Python pkgs
40+ run : pip install numpy h5py pandas matplotlib
3841
3942 - name : install hdf5
4043 run : |
4346
4447 - uses : actions/checkout@v2
4548
46- - name : Python pkgs
47- run : pip install --user -r requirements.txt
48-
4949 - run : cmake --preset multi -DCMAKE_INSTALL_PREFIX=${{ runner.temp }} -DBUILD_SHARED_LIBS:BOOL=${{ matrix.shared }}
5050
5151 - name : Build Debug
Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ name: ci_macos
22
33env :
44 CTEST_PARALLEL_LEVEL : 4
5- CMAKE_BUILD_TYPE : Release
65 HOMEBREW_NO_INSTALL_CLEANUP : 1
76 FC : gfortran-11
87
2827
2928 steps :
3029
30+ - uses : actions/setup-python@v2
31+ with :
32+ python-version : ' 3.10'
33+
34+ - name : install h5py
35+ run : pip install h5py
36+
3137 - run : brew install hdf5-mpi ninja libaec
3238
3339 - uses : actions/checkout@v2
4854 run : cmake --build example/build --parallel
4955 - name : Test Examples
5056 run : ctest --test-dir example/build -V
57+
58+
59+ macos-build :
60+ needs : macos
61+ runs-on : macos-latest
62+ timeout-minutes : 20
63+
64+ strategy :
65+ matrix :
66+ shared : [true, false]
67+
68+ steps :
69+
70+ - uses : actions/checkout@v2
71+
72+ - name : Configure HDF5
73+ run : cmake -S scripts -B scripts/build -DCMAKE_INSTALL_PREFIX=${{ runner.temp }} -DBUILD_SHARED_LIBS:BOOL=${{ matrix.shared }}
74+
75+ - name : Build/install HDF5
76+ run : cmake --build scripts/build --parallel
77+
78+ - run : cmake -B build -DCMAKE_INSTALL_PREFIX=${{ runner.temp }} -DBUILD_SHARED_LIBS:BOOL=${{ matrix.shared }} -DCMAKE_PREFIX_PATH=${{ runner.temp }}
79+ - run : cmake --build build --parallel
80+ - run : ctest --test-dir build --preset default
81+ - run : cmake --install build
82+
83+ - name : configure examples
84+ run : cmake -S example -B example/build -DCMAKE_PREFIX_PATH:PATH=${{ runner.temp }} -DBUILD_SHARED_LIBS:BOOL=${{ matrix.shared }}
85+ - name : build Examples
86+ run : cmake --build example/build --parallel
87+ - name : Test Examples
88+ run : ctest --test-dir example/build -V
Original file line number Diff line number Diff line change @@ -16,5 +16,5 @@ target_link_libraries(example1 h5mpi::h5mpi MPI::MPI_Fortran MPI::MPI_C)
1616add_test (NAME Example1 COMMAND example1)
1717set_tests_properties (Example1 PROPERTIES
1818WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
19- TIMEOUT 10
19+ TIMEOUT 30
2020)
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -125,6 +125,6 @@ DISABLED $<NOT:$<BOOL:${h5py_ok}>>
125125get_property (test_names DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} PROPERTY TESTS)
126126
127127set_tests_properties (${test_names} PROPERTIES
128- TIMEOUT 10
128+ TIMEOUT 30
129129WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
130130)
You can’t perform that action at this time.
0 commit comments