Skip to content

Commit 62e03e7

Browse files
committed
ADD: new runnng all cmake controls within conda env with verbose
1 parent bcebbb4 commit 62e03e7

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

.github/workflows/test-pass.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,14 @@ jobs:
3131
run: conda activate diff_check
3232

3333
- name: Verify Python version
34-
run: conda run --name diff_check python --version
34+
run: conda run --name diff_check --no-capture-output python --version
3535

3636
- name: Cmake Configure
3737
run: |
38-
conda run --name diff_check cmake -S . -B build -A x64 -DBUILD_PYTHON_MODULE=ON -DBUILD_TESTS=ON -DRUN_TESTS=OFF
38+
conda run --name diff_check --no-capture-output cmake -S . -B build -A x64 -DBUILD_PYTHON_MODULE=ON -DBUILD_TESTS=ON -DRUN_TESTS=OFF
3939
4040
- name: CMake Build
41-
run: conda run --name diff_check cmake --build build --config Release
41+
run: conda run --name diff_check --no-capture-output cmake --build build --config Release
4242

4343
- name: Copying the dlls
4444
run: |
@@ -49,4 +49,4 @@ jobs:
4949
- name: Run tests with cmake
5050
run: |
5151
cd build/
52-
conda run --name diff_check ctest -C Release --verbose --output-on-failure
52+
conda run --name diff_check --no-capture-output ctest -C Release --verbose --output-on-failure

cmake/build.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
@echo on
22
REM build the project in Release mode
3-
cmake --build build --config Release
3+
conda run --name diff_check --no-capture-output cmake --build build --config Release

cmake/clean_config.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ REM clean the build directory and reconfigure it
55
rmdir /s /q build
66

77
REM configure the project
8-
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release
8+
conda run --name diff_check --no-capture-output cmake -S . -B build -DCMAKE_BUILD_TYPE=Release

cmake/config.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ REM activate the conda diff_check environment otherwise the python wrap won't wo
22
call cmake/activate_conda.bat
33

44
REM configure the project
5-
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release
5+
conda run --name diff_check --no-capture-output cmake -S . -B build -DCMAKE_BUILD_TYPE=Release

0 commit comments

Comments
 (0)