diff options
author | Rémi Flamary <remi.flamary@gmail.com> | 2020-04-22 16:21:04 +0200 |
---|---|---|
committer | Rémi Flamary <remi.flamary@gmail.com> | 2020-04-22 16:21:04 +0200 |
commit | d20ce8c4e6ef723bec0ee4f06b285dff8da8c6f7 (patch) | |
tree | dde16f1b885b8569fa77369412f09a892a472d53 /.github/workflows | |
parent | b8c36c9a4f807b4743c296e84f3f0896a778619e (diff) |
debug build wheels windows
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/build_wheels.yml | 44 |
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 |