File tree Expand file tree Collapse file tree 3 files changed +25
-4
lines changed Expand file tree Collapse file tree 3 files changed +25
-4
lines changed Original file line number Diff line number Diff line change @@ -127,6 +127,12 @@ jobs:
127127 - run : ctest --test-dir build --preset default
128128 - run : cmake --install build
129129
130+ - name : configure examples
131+ run : cmake -S Examples -B Examples/build -Dh5fortran_ROOT=~
132+ - name : build Examples
133+ run : cmake --build Examples/build
134+ - name : Test Examples
135+ - run : ctest --test-dir Examples/build -V
130136
131137 linux-build-shared :
132138 needs : [linux-shared, linux-build-static]
@@ -141,6 +147,13 @@ jobs:
141147 - run : ctest --test-dir build --preset default
142148 - run : cmake --install build
143149
150+ - name : configure examples
151+ run : cmake -S Examples -B Examples/build -Dh5fortran_ROOT=~
152+ - name : build Examples
153+ run : cmake --build Examples/build
154+ - name : Test Examples
155+ - run : ctest --test-dir Examples/build -V
156+
144157
145158 linux-gcc7 :
146159 runs-on : ubuntu-18.04
Original file line number Diff line number Diff line change @@ -106,8 +106,11 @@ jobs:
106106 - run : ctest --test-dir build --preset default
107107 - run : cmake --install build
108108
109- - run : cmake -S Examples -B Examples/build -Dh5fortran_ROOT=~
110- - run : cmake --build Examples/build
109+ - name : configure examples
110+ run : cmake -S Examples -B Examples/build -Dh5fortran_ROOT=~
111+ - name : build Examples
112+ run : cmake --build Examples/build
113+ - name : Test Examples
111114 - run : ctest --test-dir Examples/build -V
112115
113116
@@ -124,6 +127,9 @@ jobs:
124127 - run : ctest --test-dir build --preset default
125128 - run : cmake --install build
126129
127- - run : cmake -S Examples -B Examples/build -Dh5fortran_ROOT=~
128- - run : cmake --build Examples/build
130+ - name : configure examples
131+ run : cmake -S Examples -B Examples/build -Dh5fortran_ROOT=~
132+ - name : build Examples
133+ run : cmake --build Examples/build
134+ - name : Test Examples
129135 - run : ctest --test-dir Examples/build -V
Original file line number Diff line number Diff line change @@ -122,3 +122,5 @@ jobs:
122122 - run : cmake --build build-shared
123123 - run : ctest --test-dir build-shared --preset default
124124 - run : cmake --install build-shared
125+
126+ # Example to come when CMake 3.22 released
You can’t perform that action at this time.
0 commit comments