Skip to content

Commit 3c6efb6

Browse files
committed
ci: cleanup
1 parent 38d2cd8 commit 3c6efb6

File tree

1 file changed

+10
-11
lines changed

1 file changed

+10
-11
lines changed

Diff for: .github/workflows/ci.yml

+10-11
Original file line numberDiff line numberDiff line change
@@ -187,24 +187,24 @@ jobs:
187187
path: valgrind
188188
key: 3.16.1 # Valgrind version
189189

190-
- name: Compile and install Valgrind
190+
- name: Compile Valgrind
191191
if: steps.cache-valgrind.outputs.cache-hit != 'true'
192192
run: |
193193
VALGRIND_VERSION=3.16.1
194194
curl https://sourceware.org/pub/valgrind/valgrind-$VALGRIND_VERSION.tar.bz2 -o - | tar xj
195195
mv valgrind-$VALGRIND_VERSION valgrind
196-
pushd valgrind
197-
./configure && make -j 2 > /dev/null && sudo make install
198-
popd
199-
sudo apt-get update && sudo apt-get install libc6-dbg # Needed by Valgrind
196+
cd valgrind
197+
./configure
198+
make -j 2 > /dev/null
200199
201200
- name: Install Valgrind
202-
if: steps.cache-valgrind.outputs.cache-hit == 'true'
201+
working-directory: valgrind
202+
run: sudo make install
203+
204+
- name: Install requirement for Valgrind
203205
run: |
204-
pushd valgrind
205-
sudo make install
206-
popd
207-
sudo apt-get update && sudo apt-get install libc6-dbg # Needed by Valgrind
206+
sudo apt-get update
207+
sudo apt-get install libc6-dbg
208208
209209
- name: Prepare env
210210
run: python -m pip install -r tests/requirements.txt --prefer-binary
@@ -214,7 +214,6 @@ jobs:
214214
cmake -S . -B build
215215
-DCMAKE_BUILD_TYPE=Debug
216216
-DPYBIND11_WERROR=ON
217-
-DPYBIND11_MEMCHECK=ON
218217
-DDOWNLOAD_CATCH=ON
219218
-DDOWNLOAD_EIGEN=ON
220219
-DCMAKE_CXX_STANDARD=17

0 commit comments

Comments
 (0)