Skip to content

Commit 1159007

Browse files
committed
Fix cmake config warning
1 parent 1cc7c96 commit 1159007

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

.github/workflows/windows.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -32,24 +32,23 @@ jobs:
3232
- name: Configure using cmake
3333
run: |
3434
cmake -S ./ -B ./build \
35-
-DCMAKE_BUILD_TYPE=${{ matrix.build_type }} \
3635
-DCMAKE_INSTALL_PREFIX=%CONDA_PREFIX% \
3736
-DCMAKE_PREFIX_PATH=%CONDA_PREFIX% \
3837
-DSPARROW_IPC_BUILD_SHARED=${{ matrix.build_shared }} \
3938
-DSPARROW_IPC_BUILD_TESTS=ON
4039
4140
- name: Build sparrow-ipc
4241
working-directory: build
43-
run: cmake --build . --target sparrow-ipc
42+
run: cmake --build . --config ${{ matrix.build_type }} --target sparrow-ipc
4443

4544
- name: Build tests
4645
working-directory: build
47-
run: cmake --build . --target test_sparrow_ipc_lib
46+
run: cmake --build . --config ${{ matrix.build_type }} --target test_sparrow_ipc_lib
4847

4948
- name: Run tests
5049
working-directory: build
5150
run: |
52-
cmake --build . --target run_tests
51+
cmake --build . --config ${{ matrix.build_type }} --target run_tests
5352
5453
windows_build_fetch_from_source:
5554
runs-on: windows-latest
@@ -70,23 +69,22 @@ jobs:
7069
- name: Configure using cmake
7170
run: |
7271
cmake -S ./ -B ./build \
73-
-DCMAKE_BUILD_TYPE=${{ matrix.build_type }} \
7472
-DSPARROW_IPC_BUILD_SHARED=${{ matrix.build_shared }} \
7573
-DSPARROW_IPC_BUILD_TESTS=ON \
7674
-DFETCH_DEPENDENCIES_WITH_CMAKE=MISSING \
7775
$TEST_COVERAGE_ACTIVATION
7876
7977
- name: Build sparrow-ipc
8078
working-directory: build
81-
run: cmake --build . --target sparrow-ipc
79+
run: cmake --build . --config ${{ matrix.build_type }} --target sparrow-ipc
8280

8381
- name: Build tests
8482
working-directory: build
85-
run: cmake --build . --target test_sparrow_ipc_lib
83+
run: cmake --build . --config ${{ matrix.build_type }} --target test_sparrow_ipc_lib
8684

8785
- name: Run tests
8886
working-directory: build
89-
run: cmake --build . --target run_tests_with_junit_report
87+
run: cmake --build . --config ${{ matrix.build_type }} --target run_tests_with_junit_report
9088

9189
- name: Tests coverage
9290
if: matrix.build_type == 'Debug'

0 commit comments

Comments
 (0)