File tree 5 files changed +20
-23
lines changed
5 files changed +20
-23
lines changed Original file line number Diff line number Diff line change 1
1
version : ' {build}'
2
- image : Visual Studio 2015
3
- platform :
4
- - x86
5
- - x64
6
- environment :
7
- global :
8
- DISTUTILS_USE_SDK : 1
9
- PYTHONWARNINGS : ignore:DEPRECATION
10
- MSSdk : 1
11
- matrix :
12
- - PYTHON : 36
2
+ image : Visual Studio 2019
3
+ stack : python 3.7
4
+ skip_branch_with_pr : true
5
+ init :
6
+ - cmd : set PATH=C:\Python37;C:\Python37\Scripts;%PATH%
13
7
install :
14
- - cmd : ' "%VS140COMNTOOLS%\..\..\VC\vcvarsall.bat" %PLATFORM%'
15
- - ps : |
16
- if ($env:PLATFORM -eq "x64") { $env:PYTHON = "$env:PYTHON-x64" }
17
- $env:PATH = "C:\Python$env:PYTHON\;C:\Python$env:PYTHON\Scripts\;$env:PATH"
18
- python -m pip install --disable-pip-version-check --upgrade --no-warn-script-location pip build virtualenv
8
+ - ps : python -m pip install --disable-pip-version-check --upgrade --no-warn-script-location pip build virtualenv wheel
19
9
build_script :
20
10
- ps : |
21
- python -m build -s
22
- cd dist
23
- python -m pip install --verbose python_example-0.0.1.tar.gz
24
- cd ..
11
+ python -m pip install .
25
12
test_script :
26
13
- ps : python tests\test.py
Original file line number Diff line number Diff line change 7
7
- master
8
8
pull_request :
9
9
10
+ concurrency :
11
+ group : ${{ github.workflow }}-${{ github.ref }}
12
+ cancel-in-progress : true
13
+
10
14
jobs :
11
15
build :
12
16
strategy :
Original file line number Diff line number Diff line change 7
7
branches :
8
8
- master
9
9
10
+ concurrency :
11
+ group : ${{ github.workflow }}-${{ github.ref }}
12
+ cancel-in-progress : true
13
+
10
14
jobs :
11
15
build :
12
16
strategy :
Original file line number Diff line number Diff line change 10
10
types :
11
11
- published
12
12
13
+ concurrency :
14
+ group : ${{ github.workflow }}-${{ github.ref }}
15
+ cancel-in-progress : true
16
+
13
17
jobs :
14
18
build_sdist :
15
19
name : Build SDist
Original file line number Diff line number Diff line change 1
1
[build-system ]
2
2
requires = [
3
3
" setuptools>=42" ,
4
- " wheel" ,
5
- " pybind11>=2.8.0" ,
4
+ " pybind11>=2.10.0" ,
6
5
]
7
-
8
6
build-backend = " setuptools.build_meta"
9
7
10
8
[tool .cibuildwheel ]
You can’t perform that action at this time.
0 commit comments