|
18 | 18 | - /tmp/ccache:/github/home/.ccache |
19 | 19 | steps: |
20 | 20 | - name: Checkout repository |
21 | | - uses: actions/checkout@v5 |
| 21 | + uses: actions/checkout@v6 |
22 | 22 | with: |
23 | 23 | fetch-depth: 0 |
24 | 24 | # We will handle submodules manually after fixing ownership |
@@ -60,130 +60,130 @@ jobs: |
60 | 60 | GTEST_COLOR: 'yes' |
61 | 61 | OMP_NUM_THREADS: '2' |
62 | 62 | run: | |
63 | | - cmake --build build --target test ARGS="-V --timeout 1700 -R integrated_test" |
64 | | -
|
| 63 | + ctest --test-dir build -V --timeout 1700 -R integrated_test |
| 64 | + |
65 | 65 | - name: Module_Base Unittests |
66 | 66 | env: |
67 | 67 | GTEST_COLOR: 'yes' |
68 | 68 | OMP_NUM_THREADS: '2' |
69 | 69 | run: | |
70 | | - cmake --build build --target test ARGS="-V --timeout 1700 -R MODULE_BASE" |
71 | | - |
| 70 | + ctest --test-dir build -V --timeout 1700 -R MODULE_BASE |
| 71 | + |
72 | 72 | - name: Module_IO Unittests |
73 | 73 | env: |
74 | 74 | GTEST_COLOR: 'yes' |
75 | 75 | OMP_NUM_THREADS: '2' |
76 | 76 | run: | |
77 | | - cmake --build build --target test ARGS="-V --timeout 1700 -R MODULE_IO" |
78 | | -
|
| 77 | + ctest --test-dir build -V --timeout 1700 -R MODULE_IO |
| 78 | + |
79 | 79 | - name: Module_HSolver Unittests |
80 | 80 | env: |
81 | 81 | GTEST_COLOR: 'yes' |
82 | 82 | OMP_NUM_THREADS: '2' |
83 | 83 | run: | |
84 | | - cmake --build build --target test ARGS="-V --timeout 1700 -R MODULE_HSOLVER" |
85 | | - |
| 84 | + ctest --test-dir build -V --timeout 1700 -R MODULE_HSOLVER |
| 85 | + |
86 | 86 | - name: Module_Cell Unittests |
87 | 87 | env: |
88 | 88 | GTEST_COLOR: 'yes' |
89 | 89 | OMP_NUM_THREADS: '2' |
90 | 90 | run: | |
91 | | - cmake --build build --target test ARGS="-V --timeout 1700 -R MODULE_CELL" |
92 | | - |
| 91 | + ctest --test-dir build -V --timeout 1700 -R MODULE_CELL |
| 92 | + |
93 | 93 | - name: Module_MD Unittests |
94 | 94 | env: |
95 | 95 | GTEST_COLOR: 'yes' |
96 | 96 | OMP_NUM_THREADS: '2' |
97 | 97 | run: | |
98 | | - cmake --build build --target test ARGS="-V --timeout 1700 -R MODULE_MD" |
99 | | - |
| 98 | + ctest --test-dir build -V --timeout 1700 -R MODULE_MD |
| 99 | + |
100 | 100 | - name: source_psi Unittests |
101 | 101 | env: |
102 | 102 | GTEST_COLOR: 'yes' |
103 | 103 | OMP_NUM_THREADS: '2' |
104 | 104 | run: | |
105 | | - cmake --build build --target test ARGS="-V --timeout 1700 -R source_psi" |
106 | | - |
| 105 | + ctest --test-dir build -V --timeout 1700 -R source_psi |
| 106 | + |
107 | 107 | - name: Module_RI Unittests |
108 | 108 | env: |
109 | 109 | GTEST_COLOR: 'yes' |
110 | 110 | OMP_NUM_THREADS: '2' |
111 | 111 | run: | |
112 | | - cmake --build build --target test ARGS="-V --timeout 1700 -R MODULE_RI" |
113 | | -
|
| 112 | + ctest --test-dir build -V --timeout 1700 -R MODULE_RI |
| 113 | + |
114 | 114 | - name: 01_PW Test |
115 | 115 | env: |
116 | 116 | GTEST_COLOR: 'yes' |
117 | 117 | OMP_NUM_THREADS: '2' |
118 | 118 | run: | |
119 | | - cmake --build build --target test ARGS="-V --timeout 1700 -R 01_PW" |
120 | | -
|
| 119 | + ctest --test-dir build -V --timeout 1700 -R 01_PW |
| 120 | + |
121 | 121 | - name: 02_NAO_Gamma Test |
122 | 122 | env: |
123 | 123 | GTEST_COLOR: 'yes' |
124 | 124 | OMP_NUM_THREADS: '2' |
125 | 125 | run: | |
126 | | - cmake --build build --target test ARGS="-V --timeout 1700 -R 02_NAO_Gamma" |
127 | | -
|
| 126 | + ctest --test-dir build -V --timeout 1700 -R 02_NAO_Gamma |
| 127 | + |
128 | 128 | - name: 03_NAO_multik Test |
129 | 129 | env: |
130 | 130 | GTEST_COLOR: 'yes' |
131 | 131 | OMP_NUM_THREADS: '2' |
132 | 132 | run: | |
133 | | - cmake --build build --target test ARGS="-V --timeout 1700 -R 03_NAO_multik" |
134 | | -
|
135 | | - - name: 04_LJ_DP Test |
| 133 | + ctest --test-dir build -V --timeout 1700 -R 03_NAO_multik |
| 134 | + |
| 135 | + - name: 04_FF Test |
136 | 136 | env: |
137 | 137 | GTEST_COLOR: 'yes' |
138 | 138 | OMP_NUM_THREADS: '2' |
139 | 139 | run: | |
140 | | - cmake --build build --target test ARGS="-V --timeout 1700 -R 04_LJ_DP" |
141 | | -
|
| 140 | + ctest --test-dir build -V --timeout 1700 -R 04_FF |
| 141 | + |
142 | 142 | - name: 05_rtTDDFT Test |
143 | 143 | env: |
144 | 144 | GTEST_COLOR: 'yes' |
145 | 145 | OMP_NUM_THREADS: '2' |
146 | 146 | run: | |
147 | | - cmake --build build --target test ARGS="-V --timeout 1700 -R 05_rtTDDFT" |
148 | | -
|
| 147 | + ctest --test-dir build -V --timeout 1700 -R 05_rtTDDFT |
| 148 | + |
149 | 149 | - name: 06_SDFT Test |
150 | 150 | env: |
151 | 151 | GTEST_COLOR: 'yes' |
152 | 152 | OMP_NUM_THREADS: '2' |
153 | 153 | run: | |
154 | | - cmake --build build --target test ARGS="-V --timeout 1700 -R 06_SDFT" |
155 | | -
|
| 154 | + ctest --test-dir build -V --timeout 1700 -R 06_SDFT |
| 155 | + |
156 | 156 | - name: 07_OFDFT Test |
157 | 157 | env: |
158 | 158 | GTEST_COLOR: 'yes' |
159 | 159 | OMP_NUM_THREADS: '2' |
160 | 160 | run: | |
161 | | - cmake --build build --target test ARGS="-V --timeout 1700 -R 07_OFDFT" |
162 | | -
|
| 161 | + ctest --test-dir build -V --timeout 1700 -R 07_OFDFT |
| 162 | + |
163 | 163 | - name: 08_EXX Test |
164 | 164 | env: |
165 | 165 | GTEST_COLOR: 'yes' |
166 | 166 | OMP_NUM_THREADS: '2' |
167 | 167 | run: | |
168 | | - cmake --build build --target test ARGS="-V --timeout 1700 -R 08_EXX" |
169 | | -
|
| 168 | + ctest --test-dir build -V --timeout 1700 -R 08_EXX |
| 169 | + |
170 | 170 | - name: 09_DeePKS Test |
171 | 171 | env: |
172 | 172 | GTEST_COLOR: 'yes' |
173 | 173 | OMP_NUM_THREADS: '2' |
174 | 174 | run: | |
175 | | - cmake --build build --target test ARGS="-V --timeout 1700 -R 09_DeePKS" |
176 | | -
|
| 175 | + ctest --test-dir build -V --timeout 1700 -R 09_DeePKS |
| 176 | + |
177 | 177 | - name: 10_others Test |
178 | 178 | env: |
179 | 179 | GTEST_COLOR: 'yes' |
180 | 180 | OMP_NUM_THREADS: '2' |
181 | 181 | run: | |
182 | | - cmake --build build --target test ARGS="-V --timeout 1700 -R 10_others" |
183 | | -
|
| 182 | + ctest --test-dir build -V --timeout 1700 -R 10_others |
| 183 | + |
184 | 184 | - name: Other Unittests |
185 | 185 | env: |
186 | 186 | GTEST_COLOR: 'yes' |
187 | 187 | OMP_NUM_THREADS: '2' |
188 | 188 | run: | |
189 | | - cmake --build build --target test ARGS="-V --timeout 1700 -E 'integrate_test|01_PW|02_NAO_Gamma|03_NAO_multik|04_LJ_DP|05_rtTDDFT|06_SDFT|07_OFDFT|08_EXX|09_DeePKS|10_others|11_PW_GPU|12_NAO_Gamma_GPU|13_NAO_multik_GPU|15_rtTDDFT_GPU|16_SDFT_GPU|MODULE_BASE|MODULE_IO|MODULE_HSOLVER|MODULE_CELL|MODULE_MD|source_psi|MODULE_RI'" |
| 189 | + ctest --test-dir build -V --timeout 1700 -E 'integrate_test|01_PW|02_NAO_Gamma|03_NAO_multik|04_FF|05_rtTDDFT|06_SDFT|07_OFDFT|08_EXX|09_DeePKS|10_others|11_PW_GPU|12_NAO_Gamma_GPU|13_NAO_multik_GPU|15_rtTDDFT_GPU|16_SDFT_GPU|MODULE_BASE|MODULE_IO|MODULE_HSOLVER|MODULE_CELL|MODULE_MD|source_psi|MODULE_RI' |
0 commit comments