-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* trying to fix wheels build * updadting eigen
- Loading branch information
Showing
3 changed files
with
18 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,70 +1,51 @@ | ||
name: Wheels | ||
on: | ||
push: | ||
branches: [main] | ||
pull_request: | ||
branches: [main] | ||
release: | ||
types: | ||
- published | ||
types: [published] | ||
|
||
jobs: | ||
build_wheels: | ||
name: Build wheels on ${{ matrix.os }} | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
os: [ubuntu-18.04, windows-latest, macos-latest] | ||
os: [ubuntu-20.04, windows-2019, macos-10.15] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
submodules: true | ||
fetch-depth: 0 | ||
|
||
- uses: actions/setup-python@v2 | ||
name: Install Python | ||
with: | ||
python-version: "3.7" | ||
|
||
- uses: ilammy/msvc-dev-cmd@v1 | ||
|
||
- name: Install cibuildwheel | ||
run: | | ||
python -m pip install cibuildwheel==1.5.1 | ||
- name: Build wheels on Windows | ||
if: runner.os == 'Windows' | ||
run: python -m cibuildwheel --output-dir wheelhouse | ||
env: | ||
CIBW_BUILD: "cp3?-win_amd64" | ||
DISTUTILS_USE_SDK: 1 | ||
MSSdk: 1 | ||
|
||
- name: Build wheels on Mac and Linux | ||
if: runner.os != 'Windows' | ||
run: | | ||
python -m cibuildwheel --output-dir wheelhouse | ||
- uses: joerick/[email protected] | ||
env: | ||
CIBW_BUILD: "cp3?-*" | ||
CIBW_SKIP: "*-manylinux_i686" | ||
CIBW_SKIP: "cp35-* *-win32 *-manylinux_i686" | ||
CIBW_MANYLINUX_X86_64_IMAGE: manylinux2014 | ||
|
||
DISTUTILS_USE_SDK: 1 | ||
MSSdk: 1 | ||
- uses: actions/upload-artifact@v2 | ||
with: | ||
path: ./wheelhouse/*.whl | ||
|
||
build_sdist: | ||
name: Build source distribution | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
submodules: true | ||
fetch-depth: 0 | ||
|
||
- uses: actions/setup-python@v2 | ||
name: Install Python | ||
with: | ||
python-version: "3.7" | ||
|
||
python-version: "3.9" | ||
- name: Build sdist | ||
run: python setup.py sdist | ||
|
||
run: | | ||
python -m pip install -U pip | ||
python -m pip install -U build | ||
python -m build --sdist . | ||
- uses: actions/upload-artifact@v2 | ||
with: | ||
path: dist/*.tar.gz | ||
|
@@ -83,4 +64,3 @@ jobs: | |
with: | ||
user: __token__ | ||
password: ${{ secrets.pypi_password }} | ||
# To test: repository_url: https://test.pypi.org/legacy/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule eigen
updated
from 23b7f0 to 0fd6b4