diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c5054f020..56b929e6b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -51,11 +51,6 @@ jobs: with: vcpkgDirectory: '${{github.workspace}}/scripts/vcpkg' - - name: "(vcpkg only) setuptools" - if: ${{ matrix.package_manager == 'vcpkg' }} - run: | - pip install setuptools - - name: "(vcpkg only) Setup CMake Toolchain file" if: ${{ matrix.package_manager == 'vcpkg' }} run: | @@ -85,6 +80,16 @@ 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 + + - name: "(vcpkg only) install setuptools" + if: ${{ matrix.package_manager == 'vcpkg' }} + run: | + pip install setuptools + - name: Configure CMake run: > cmake -G Ninja -B build