|
1 | 1 | variables:
|
2 |
| - # It seems pybind11 is already installed in CIBW docker image |
3 |
| - #CIBW_BEFORE_BUILD: pip install pybind11==2.4.3 |
| 2 | + CIBW_BEFORE_BUILD: "pip install -U numpy" |
| 3 | + CIBW_BEFORE_BUILD_MACOS: "pip install -U pip setuptools" |
| 4 | + CIBW_BEFORE_BUILD_LINUX: "pip install -U pip setuptools" |
4 | 5 | #CIBW_TEST_COMMAND: TODO "python -c \"import tinyobjloader; tinyobjloader.test()\""
|
5 | 6 | CIBW_BUILD_VERBOSITY: "2"
|
6 | 7 | CIBW_MANYLINUX_X86_64_IMAGE: manylinux2014
|
|
30 | 31 | - task: UsePythonVersion@0
|
31 | 32 | - bash: |
|
32 | 33 | python -m pip install --upgrade pip
|
33 |
| - pip install cibuildwheel==1.1.0 |
| 34 | + pip install cibuildwheel twine |
34 | 35 | # Make the header files available to the build.
|
35 | 36 | cp *.h python
|
36 | 37 | cd python
|
|
49 | 50 | - task: UsePythonVersion@0
|
50 | 51 | - bash: |
|
51 | 52 | python -m pip install --upgrade pip
|
52 |
| - pip install cibuildwheel==1.1.0 |
| 53 | + pip install cibuildwheel |
53 | 54 | # Make the header files available to the build.
|
54 | 55 | cp *.h python
|
55 | 56 | cd python
|
|
67 | 68 | displayName: Install Visual C++ for Python 2.7
|
68 | 69 | - bash: |
|
69 | 70 | python -m pip install --upgrade pip
|
70 |
| - pip install cibuildwheel==1.1.0 |
| 71 | + pip install cibuildwheel |
71 | 72 | # Make the header files available to the build.
|
72 | 73 | cp *.h python
|
73 | 74 | cd python
|
@@ -102,7 +103,12 @@ jobs:
|
102 | 103 | TWINE_PASSWORD: $(pypiToken2)
|
103 | 104 |
|
104 | 105 | trigger:
|
105 |
| - - master |
| 106 | + branches: |
| 107 | + include: |
| 108 | + - '*' |
| 109 | + tags: |
| 110 | + include: |
| 111 | + - 'v*' |
106 | 112 |
|
107 | 113 | pr:
|
108 | 114 | branches:
|
|
0 commit comments