summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorRémi Flamary <remi.flamary@gmail.com>2020-04-22 16:21:04 +0200
committerRémi Flamary <remi.flamary@gmail.com>2020-04-22 16:21:04 +0200
commitd20ce8c4e6ef723bec0ee4f06b285dff8da8c6f7 (patch)
treedde16f1b885b8569fa77369412f09a892a472d53 /.github
parentb8c36c9a4f807b4743c296e84f3f0896a778619e (diff)
debug build wheels windows
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build_wheels.yml44
1 files changed, 11 insertions, 33 deletions
diff --git a/.github/workflows/build_wheels.yml b/.github/workflows/build_wheels.yml
index ed8bd3d..4874d84 100644
--- a/.github/workflows/build_wheels.yml
+++ b/.github/workflows/build_wheels.yml
@@ -7,9 +7,12 @@ on:
jobs:
- build_linux:
-
- runs-on: ubuntu-latest
+ build_wheels:
+ name: Build wheel on ${{ matrix.os }}
+ runs-on: ${{ matrix.os }}
+ strategy:
+ matrix:
+ os: [ubuntu-18.04, windows-latest, macos-latest]
steps:
- uses: actions/checkout@v1
@@ -23,40 +26,15 @@ jobs:
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install -U "cython"
+
- name: Install cibuildwheel
run: |
python -m pip install cibuildwheel==1.3.0
- - name: Build wheel
- env:
- CIBW_BEFORE_BUILD: "pip install numpy cython"
- run: |
- python -m cibuildwheel --output-dir wheelhouse
-
- - uses: actions/upload-artifact@v1
- with:
- name: wheels
- path: ./wheelhouse
-
- build_windows:
-
- runs-on: windows-2019
-
- steps:
- - uses: actions/checkout@v1
- - name: Set up Python 3.8
- uses: actions/setup-python@v1
- with:
- python-version: 3.8
-
- - name: Install dependencies
+ - name: Install Visual C++ for Python 2.7
+ if: startsWith(matrix.os, 'windows')
run: |
- python -m pip install --upgrade pip
- pip install -r requirements.txt
- pip install -U "cython"
- - name: Install cibuildwheel
- run: |
- python -m pip install cibuildwheel==1.3.0
+ choco install vcpython27 -f -y
- name: Build wheel
env:
@@ -67,4 +45,4 @@ jobs:
- uses: actions/upload-artifact@v1
with:
name: wheels
- path: ./wheelhouse \ No newline at end of file
+ path: ./wheelhouse