From 066b281060ccbaa137300262ff299b8e98f2fb82 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=A1=90=E7=AB=B9=20=E4=B9=85=E7=BE=8E?= Date: Fri, 26 Apr 2024 15:16:08 +0800 Subject: [PATCH] Update linux_qemu.yml --- .github/workflows/linux_qemu.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/linux_qemu.yml b/.github/workflows/linux_qemu.yml index 569a97c50b0c..fadb14a30c5f 100644 --- a/.github/workflows/linux_qemu.yml +++ b/.github/workflows/linux_qemu.yml @@ -130,8 +130,9 @@ jobs: rm -f /usr/bin/ld.bfd && ln -s /host/usr/bin/${TOOLCHAIN_NAME}-ld.bfd /usr/bin/ld.bfd && rm -f /usr/bin/ninja && ln -s /host/usr/bin/ninja /usr/bin/ninja && git config --global --add safe.directory /numpy && - python -m pip install -r /numpy/requirements/build_requirements.txt && - python -m pip install pytest pytest-xdist hypothesis typing_extensions && + python3 -m venv /root/numpyenv + /root/numpyenv/bin/pip install -r /numpy/requirements/build_requirements.txt && + /root/numpyenv/bin/pip install pytest pytest-xdist hypothesis typing_extensions && rm -f /usr/local/bin/ninja && mkdir -p /usr/local/bin && ln -s /host/usr/bin/ninja /usr/local/bin/ninja " docker commit the_container the_container