@@ -15,13 +15,6 @@ scripts = ["itk_wasm_env.bash"]
15
15
clean = " git clean -fdx"
16
16
pnpm-install = { cmd = " pnpm install" , description = " Install Node.js dependencies" }
17
17
18
- [tasks .dicom-test-data-download ]
19
- cmd = " npx dam download test/data test/data.tar.gz $ITK_WASM_DICOM_TEST_DATA_HASH $ITK_WASM_DICOM_TEST_DATA_URLS"
20
- cwd = " packages/dicom"
21
- depends-on = [" pnpm-install" ]
22
- outputs = [" packages/dicom/test/data.tar.gz" ]
23
- description = " Download DICOM test data"
24
-
25
18
[tasks .compare-images-test-data-download ]
26
19
cmd = " npx dam download test/data test/data.tar.gz $ITK_WASM_COMPARE_IMAGES_TEST_DATA_HASH $ITK_WASM_COMPARE_IMAGES_TEST_DATA_URLS"
27
20
cwd = " packages/compare-images"
@@ -43,6 +36,20 @@ depends-on = ["pnpm-install"]
43
36
outputs = [" packages/compress-stringify/test/data.tar.gz" ]
44
37
description = " Download compress-stringify test data"
45
38
39
+ [tasks .dicom-test-data-download ]
40
+ cmd = " npx dam download test/data test/data.tar.gz $ITK_WASM_DICOM_TEST_DATA_HASH $ITK_WASM_DICOM_TEST_DATA_URLS"
41
+ cwd = " packages/dicom"
42
+ depends-on = [" pnpm-install" ]
43
+ outputs = [" packages/dicom/test/data.tar.gz" ]
44
+ description = " Download DICOM test data"
45
+
46
+ [tasks .downsample-test-data-download ]
47
+ cmd = " npx dam download test/data test/data.tar.gz $ITK_WASM_DOWNSAMPLE_TEST_DATA_HASH $ITK_WASM_DOWNSAMPLE_TEST_DATA_URLS"
48
+ cwd = " packages/downsample"
49
+ depends-on = [" pnpm-install" ]
50
+ outputs = [" packages/downsample/test/data.tar.gz" ]
51
+ description = " Download downsample test data"
52
+
46
53
[tasks .mesh-io-test-data-download ]
47
54
cmd = " npx dam download test/data test/data.tar.gz $ITK_WASM_MESH_IO_TEST_DATA_HASH $ITK_WASM_MESH_IO_TEST_DATA_URLS"
48
55
cwd = " packages/mesh-io"
@@ -162,26 +169,6 @@ cmd = "ctest --test-dir $ITK_WASM_NATIVE_WORKSPACE/ITK-Wasm-build"
162
169
depends-on = [" build-itk-wasm" ]
163
170
description = " Test ITK-Wasm"
164
171
165
- [feature .native .tasks .configure-native-dicom ]
166
- cmd = ''' cmake -B$ITK_WASM_NATIVE_WORKSPACE/dicom-build -Spackages/dicom -GNinja
167
- -DITK_DIR:PATH=$ITK_WASM_ITK_BUILD_DIR
168
- -DBUILD_TESTING:BOOL=ON
169
- -DCMAKE_CXX_STANDARD:STRING=20
170
- -DCMAKE_BUILD_TYPE:STRING=Debug'''
171
- depends-on = [" build-itk-wasm" , " dicom-test-data-download" ]
172
- outputs = [" native/dicom-build/CMakeFiles/" ]
173
- description = " Configure dicom native binaries"
174
-
175
- [feature .native .tasks .build-native-dicom ]
176
- cmd = " cmake --build $ITK_WASM_NATIVE_WORKSPACE/dicom-build"
177
- depends-on = [" configure-native-dicom" ]
178
- description = " Build dicom native binaries"
179
-
180
- [feature .native .tasks .test-native-dicom ]
181
- cmd = " ctest --test-dir $ITK_WASM_NATIVE_WORKSPACE/dicom-build"
182
- depends-on = [" build-native-dicom" ]
183
- description = " Test dicom native binaries"
184
-
185
172
[feature .native .tasks .configure-native-compare-images ]
186
173
cmd = ''' cmake -B$ITK_WASM_NATIVE_WORKSPACE/compare-images-build -Spackages/compare-images -GNinja
187
174
-DITK_DIR:PATH=$ITK_WASM_ITK_BUILD_DIR
@@ -242,6 +229,46 @@ cmd = "ctest --test-dir $ITK_WASM_NATIVE_WORKSPACE/compress-stringify-build"
242
229
depends-on = [" build-native-compress-stringify" ]
243
230
description = " Test compress-stringify native binaries"
244
231
232
+ [feature .native .tasks .configure-native-dicom ]
233
+ cmd = ''' cmake -B$ITK_WASM_NATIVE_WORKSPACE/dicom-build -Spackages/dicom -GNinja
234
+ -DITK_DIR:PATH=$ITK_WASM_ITK_BUILD_DIR
235
+ -DBUILD_TESTING:BOOL=ON
236
+ -DCMAKE_CXX_STANDARD:STRING=20
237
+ -DCMAKE_BUILD_TYPE:STRING=Debug'''
238
+ depends-on = [" build-itk-wasm" , " dicom-test-data-download" ]
239
+ outputs = [" native/dicom-build/CMakeFiles/" ]
240
+ description = " Configure dicom native binaries"
241
+
242
+ [feature .native .tasks .build-native-dicom ]
243
+ cmd = " cmake --build $ITK_WASM_NATIVE_WORKSPACE/dicom-build"
244
+ depends-on = [" configure-native-dicom" ]
245
+ description = " Build dicom native binaries"
246
+
247
+ [feature .native .tasks .test-native-dicom ]
248
+ cmd = " ctest --test-dir $ITK_WASM_NATIVE_WORKSPACE/dicom-build"
249
+ depends-on = [" build-native-dicom" ]
250
+ description = " Test dicom native binaries"
251
+
252
+ [feature .native .tasks .configure-native-downsample ]
253
+ cmd = ''' cmake -B$ITK_WASM_NATIVE_WORKSPACE/downsample-build -Spackages/downsample -GNinja
254
+ -DITK_DIR:PATH=$ITK_WASM_ITK_BUILD_DIR
255
+ -DBUILD_TESTING:BOOL=ON
256
+ -DCMAKE_CXX_STANDARD:STRING=20
257
+ -DCMAKE_BUILD_TYPE:STRING=Debug'''
258
+ depends-on = [" build-itk-wasm" , " downsample-test-data-download" ]
259
+ outputs = [" native/downsample-build/CMakeFiles/" ]
260
+ description = " Configure downsample native binaries"
261
+
262
+ [feature .native .tasks .build-native-downsample ]
263
+ cmd = " cmake --build $ITK_WASM_NATIVE_WORKSPACE/downsample-build"
264
+ depends-on = [" configure-native-downsample" ]
265
+ description = " Build downsample native binaries"
266
+
267
+ [feature .native .tasks .test-native-downsample ]
268
+ cmd = " ctest --test-dir $ITK_WASM_NATIVE_WORKSPACE/downsample-build"
269
+ depends-on = [" build-native-downsample" ]
270
+ description = " Test downsample native binaries"
271
+
245
272
[feature .native .tasks .configure-native-mesh-io ]
246
273
cmd = ''' cmake -B$ITK_WASM_NATIVE_WORKSPACE/mesh-io-build -Spackages/mesh-io -GNinja
247
274
-DITK_DIR:PATH=$ITK_WASM_ITK_BUILD_DIR
0 commit comments