summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorROUVREAU Vincent <vincent.rouvreau@inria.fr>2020-08-04 15:54:58 +0200
committerROUVREAU Vincent <vincent.rouvreau@inria.fr>2020-08-04 15:54:58 +0200
commit800cd2a653c1ce7a7b8b40b3d856147641922013 (patch)
treea75cbba04b74cb0d449af4c541437e3c132d8c16
parent25c4f713ce91e100d7abfe4bbba9f5159e39e6e1 (diff)
All in one
-rw-r--r--.github/workflows/pip-packaging-windows.yml17
1 files 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 ..