Skip to content

Commit cbe4a90

Browse files
committed
debug: try inplace build
1 parent 97b0dbb commit cbe4a90

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -103,24 +103,27 @@ jobs:
103103
- name: Configure C++11
104104
shell: bash
105105
run: >
106-
cmake -S . -B build
106+
cmake -S . -B .
107107
-DPYBIND11_WERROR=ON
108108
-DDOWNLOAD_CATCH=ON
109109
-DDOWNLOAD_EIGEN=ON
110110
-DCMAKE_CXX_STANDARD=11
111111
-DPYTHON_EXECUTABLE=$(python -c "import sys; print(sys.executable)")
112112
113113
- name: Build C++11
114-
run: cmake --build build -j 2
114+
run: cmake --build . -j 2
115115

116116
- name: Python tests C++11
117-
run: cmake --build build --target pytest -j 2
117+
run: cmake --build . --target pytest -j 2
118118

119119
- name: C++11 tests
120-
run: cmake --build build --target cpptest -j 2
120+
run: cmake --build . --target cpptest -j 2
121121

122122
- name: Interface test C++11
123-
run: cmake --build build --target test_cmake_build
123+
run: cmake --build . --target test_cmake_build
124+
125+
- name: Clean directory
126+
run: git clean -fdx
124127

125128
- name: Configure C++${{ matrix.max-cxx-std }}
126129
shell: bash

0 commit comments

Comments
 (0)