Skip to content

Commit aa3f369

Browse files
committed
Split in different steps
Signed-off-by: Julien Jerphanion <[email protected]>
1 parent 88fac60 commit aa3f369

File tree

1 file changed

+15
-6
lines changed

1 file changed

+15
-6
lines changed

.github/workflows/build_with_conda.yml

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -321,24 +321,33 @@ jobs:
321321
set CMAKE_GENERATOR_PLATFORM=
322322
set CMAKE_GENERATOR_TOOLSET=
323323
cd cpp
324-
cmake -DTEST=OFF --preset windows-cl-conda-release
324+
cmake -DTEST=ON --preset windows-cl-conda-release
325325
cmake --build --preset windows-cl-conda-release --parallel
326326
env:
327327
ARCTICDB_USING_CONDA: 1
328328
ARCTICDB_BUILD_CPP_TESTS: 1
329329
ARCTIC_CMAKE_PRESET: windows-cl-conda-release
330330

331-
- name: Build and Run C++ Tests
331+
- name: Build C++ Tests
332332
shell: cmd /C call {0}
333333
# Empty values for `CMAKE_GENERATOR_{PLATFORM,TOOLSET}` is necessary
334334
# for Ninja to be used as a generator with MSVC.
335335
run: |
336336
set CMAKE_GENERATOR_PLATFORM=
337337
set CMAKE_GENERATOR_TOOLSET=
338-
cd cpp
339-
cmake -DTEST=ON --preset windows-cl-conda-release
340-
cd out/windows-cl-conda-release-build/
341-
cmake --build . --target test
338+
cd cpp/out/windows-cl-conda-release-build/
339+
cmake --build . --target arcticdb_rapidcheck_tests --parallel
340+
cmake --build . --target test_unit_arcticdb --parallel
341+
env:
342+
ARCTICDB_USING_CONDA: 1
343+
ARCTICDB_BUILD_CPP_TESTS: 1
344+
ARCTIC_CMAKE_PRESET: windows-cl-conda-release
345+
346+
- name: Run C++ Tests
347+
shell: cmd /C call {0}
348+
run: |
349+
cd cpp/out/windows-cl-conda-release-build/
350+
ctest --output-on-failure
342351
env:
343352
CTEST_OUTPUT_ON_FAILURE: 1
344353
ARCTICDB_USING_CONDA: 1

0 commit comments

Comments
 (0)