From d1b1220a057d608cc8b5cb72678db1cac2e0c4fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Franz=20P=C3=B6schel?= Date: Thu, 20 Jun 2024 13:36:55 +0200 Subject: [PATCH] Same for MUSL container --- .github/workflows/linux.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index d0e24efa99..3d57ebff69 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -275,7 +275,9 @@ jobs: run: | apk update apk add hdf5-dev - python3.10 -m pip install numpy + python3.10 -m venv /opt/python_env + . /opt/python_env/bin/activate + python -m pip install numpy - name: Build env: {CXXFLAGS: -Werror} run: | @@ -285,7 +287,7 @@ jobs: -DopenPMD_USE_MPI=OFF \ -DopenPMD_USE_HDF5=ON \ -DopenPMD_USE_INVASIVE_TESTS=ON \ - -DPython_EXECUTABLE=$(which python3.10) + -DPython_EXECUTABLE=$(which python) cmake --build build --parallel 2 cd build ctest --output-on-failure