From 43b0f9a8c159f67487bda0939fa50e0b3b2e540e Mon Sep 17 00:00:00 2001 From: Vincent Fazio Date: Thu, 29 Aug 2024 14:13:58 +1000 Subject: [PATCH] Fix up pdm env errors in back-end build --- .github/workflows/build_backend.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build_backend.yml b/.github/workflows/build_backend.yml index 7704f6a..16de9c2 100644 --- a/.github/workflows/build_backend.yml +++ b/.github/workflows/build_backend.yml @@ -29,10 +29,15 @@ jobs: pip install pdm - name: Install dependencies run: | - pdm install + # Remove old venv + pdm venv remove -y for-backend-build + # Create new venv + pdm venv create --with-pip --name for-backend-build 3.10 + eval $(pdm venv activate for-backend-build) + pdm install --venv for-backend-build - name: Make boreholes run: | - pdm run $SHELL + eval $(pdm venv activate for-backend-build) # Temporarily, a patched version of assimp lives in the 'test' dir # It was installed and built via 'pdm install' ASSIMP_VER=5.2.5