From 215e89628724c5dddcf3d6291a30c65583e6cad5 Mon Sep 17 00:00:00 2001 From: Christian Rauch Date: Sat, 19 Oct 2024 14:54:50 +0200 Subject: [PATCH] replace vcpkg installed python --- .github/workflows/build.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d7b9e5e66..0aea743ad 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -80,6 +80,21 @@ jobs: echo "CMake toolchain file: $TOOLCHAIN_FILE" $GITHUB_WORKSPACE/scripts/install_prerequisites.sh -v -u -m ${{matrix.package_manager}} all + - name: "(vcpkg only) remove python" + if: ${{ matrix.package_manager == 'vcpkg' }} + run: | + vcpkg remove python3 + + - uses: actions/setup-python@v5 + if: ${{ matrix.package_manager == 'vcpkg' }} + with: + python-version: '3.12' + + - name: "(vcpkg only) install setuptools" + if: ${{ matrix.package_manager == 'vcpkg' }} + run: | + pip install setuptools + - name: Configure CMake run: > cmake -G Ninja -B build