From 800cd2a653c1ce7a7b8b40b3d856147641922013 Mon Sep 17 00:00:00 2001 From: ROUVREAU Vincent Date: Tue, 4 Aug 2020 15:54:58 +0200 Subject: All in one --- .github/workflows/pip-packaging-windows.yml | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) diff --git a/.github/workflows/pip-packaging-windows.yml b/.github/workflows/pip-packaging-windows.yml index 268e7ac4..dabfceed 100644 --- a/.github/workflows/pip-packaging-windows.yml +++ b/.github/workflows/pip-packaging-windows.yml @@ -23,30 +23,17 @@ jobs: - uses: actions/checkout@v1 with: submodules: true - # Restore from cache the previously built ports. If cache-miss, download, build vcpkg. - - name: Restore from cache and install vcpkg - # Download and build vcpkg, without installing any port. If content is cached already, it is a no-op. - uses: lukka/run-vcpkg@v3 - with: - setupOnly: true - # Now that vcpkg is installed, it is being used to run desired arguments. - - run: | - $VCPKG_ROOT/vcpkg @$vcpkgResponseFile - $VCPKG_ROOT/vcpkg install boost-graph boost-serialization boost-date-time boost-system boost-filesystem boost-test boost-thread boost-program-options eigen3 mpfr mpir cgal --triplet x64-windows - shell: bash - uses: actions/setup-python@v1 with: python-version: ${{ matrix.python-version }} architecture: x64 - name: Install dependencies run: | + vcpkg install boost-graph boost-serialization boost-date-time boost-system boost-filesystem boost-test boost-thread boost-program-options eigen3 mpfr mpir cgal --triplet x64-windows + vcpkg list python -m pip install --user -r .github/build-requirements.txt python -m pip install --user twine python -m pip list - - name: Build python wheel - run: | - python --version - python -m pip list mkdir build cd build cmake -DCMAKE_BUILD_TYPE=Release -DGMP_INCLUDE_DIR="c:/vcpkg/installed/x64-windows/include" -DGMP_LIBRARIES="c:/vcpkg/installed/x64-windows/lib/mpir.lib" -DGMP_LIBRARIES_DIR="c:/vcpkg/installed/x64-windows/lib" -DCMAKE_TOOLCHAIN_FILE=C:/vcpkg/scripts/buildsystems/vcpkg.cmake -DVCPKG_TARGET_TRIPLET=x64-windows -DPython_ADDITIONAL_VERSIONS=3 .. -- cgit v1.2.3