From 648286ba47a599c4fd1cd50230b379e86de65f4c Mon Sep 17 00:00:00 2001 From: Phil Howard Date: Mon, 2 Dec 2024 17:54:30 +0000 Subject: [PATCH] CI: Switch to venv. --- .github/workflows/micropython.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/micropython.yml b/.github/workflows/micropython.yml index 218fbad..2645d7a 100644 --- a/.github/workflows/micropython.yml +++ b/.github/workflows/micropython.yml @@ -63,8 +63,8 @@ jobs: shell: bash run: | source $CI_PROJECT_ROOT/ci/micropython.sh && ci_debug - source $(dpkg -L virtualenvwrapper | grep "virtualenvwrapper.sh") - mkvirtualenv "dir2uf2" + python3 -m venv "$CI_BUILD_ROOT/.dir2uf2" + source "$CI_BUILD_ROOT/.dir2uf2/bin/activate" ci_cmake_build ${{ matrix.name }} mv "$CI_BUILD_ROOT/${{ matrix.name }}.uf2" "$CI_BUILD_ROOT/$RELEASE_FILE.uf2" mv "$CI_BUILD_ROOT/${{ matrix.name }}-with-filesystem.uf2" "$CI_BUILD_ROOT/$RELEASE_FILE-with-filesystem.uf2"