提交 1d4cd4a0 编写于 作者: HansBug's avatar HansBug 😆

test(hansbug): try add windows release building

上级 23f98edd
......@@ -58,7 +58,7 @@ jobs:
matrix:
os:
- 'ubuntu-18.04'
# - 'windows-2019'
- 'windows-2019'
- 'macos-10.15'
python:
- '3.6'
......
......@@ -49,7 +49,7 @@ jobs:
matrix:
os:
- 'ubuntu-18.04'
# - 'windows-2019'
- 'windows-2019'
- 'macos-10.15'
python:
- '3.6'
......
......@@ -8,11 +8,23 @@ requires = [
[tool.cibuildwheel]
skip = ["pp*"] # Do not build for PyPy
## Windows build configuration
[tool.cibuildwheel.windows]
archs = ["x86", 'AMD64']
before-test = [# Unittest for windows
"pip install -r \"{project}/requirements-test.txt\"",
]
test-command = [
"xcopy /e /i \"{project}/test\" test",
"copy \"{project}/pytest.ini\" pytest.ini",
"pytest test -sv -m unittest --log-level=DEBUG",
"rmdir /s /q test",
]
## macOS build configuration
[tool.cibuildwheel.macos]
archs = ["x86_64", "arm64"] # Build for x86_64 and arm64
before-test = [# Unittest for linux
before-test = [# Unittest for macos
"pip install -r {project}/requirements-test.txt",
]
test-command = [
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册