forked from benfred/py-spy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
32 lines (29 loc) · 907 Bytes
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
environment:
TWINE_USERNAME: benfred
# Note: TWINE_PASSWORD is set in Appveyor settings
matrix:
# Nightly 64-bit MSVC
- channel: stable
target: x86_64-pc-windows-msvc
CIBW_SKIP: "*win32* cp27-* cp33-* cp34-* cp35-*"
CIBW_BEFORE_BUILD: pip install setuptools-rust
# from: https://github.com/starkat99/appveyor-rust/blob/master/appveyor.yml
install:
- appveyor DownloadFile https://win.rustup.rs/ -FileName rustup-init.exe
- rustup-init -yv --default-toolchain stable --default-host %target%
- set PATH=%PATH%;%USERPROFILE%\.cargo\bin
- rustc -vV
- cargo -vV
- pip install cibuildwheel==0.9.1 setuptools_rust
build_script:
- cibuildwheel --output-dir wheelhouse
- >
IF "%APPVEYOR_REPO_TAG%" == "true"
(
python -m pip install twine
&&
python -m twine upload wheelhouse/*.whl
)
artifacts:
- path: "wheelhouse\\*.whl"
name: Wheels