Skip to content

Commit eafc17a

Browse files
authored
fix: update appveyor for pybind11 2.10 (#115)
* fix: update appveyor for pybind11 2.10 * Update .appveyor.yml * ci: better skipping * Update .appveyor.yml * Update .appveyor.yml * ci: 3.8 * ci: 3.8 fix * ci: try 3.10 * ci: 2019 * ci: drop warning adjustment * ci: try direct build * Update .appveyor.yml
1 parent e5bee8b commit eafc17a

File tree

5 files changed

+20
-23
lines changed

5 files changed

+20
-23
lines changed

.appveyor.yml

+7-20
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,13 @@
11
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%
137
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
199
build_script:
2010
- 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 .
2512
test_script:
2613
- ps: python tests\test.py

.github/workflows/conda.yml

+4
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ on:
77
- master
88
pull_request:
99

10+
concurrency:
11+
group: ${{ github.workflow }}-${{ github.ref }}
12+
cancel-in-progress: true
13+
1014
jobs:
1115
build:
1216
strategy:

.github/workflows/pip.yml

+4
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ on:
77
branches:
88
- master
99

10+
concurrency:
11+
group: ${{ github.workflow }}-${{ github.ref }}
12+
cancel-in-progress: true
13+
1014
jobs:
1115
build:
1216
strategy:

.github/workflows/wheels.yml

+4
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ on:
1010
types:
1111
- published
1212

13+
concurrency:
14+
group: ${{ github.workflow }}-${{ github.ref }}
15+
cancel-in-progress: true
16+
1317
jobs:
1418
build_sdist:
1519
name: Build SDist

pyproject.toml

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
[build-system]
22
requires = [
33
"setuptools>=42",
4-
"wheel",
5-
"pybind11>=2.8.0",
4+
"pybind11>=2.10.0",
65
]
7-
86
build-backend = "setuptools.build_meta"
97

108
[tool.cibuildwheel]

0 commit comments

Comments
 (0)