feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5pitchshiftsamplertimestretchyinfft+
Last change
on this file since c4c5130 was
c4c5130,
checked in by Paul Brossier <piem@piem.org>, 8 years ago
|
scripts/appveyor: add scripts to prepare building python module
|
-
Property mode set to
100644
|
File size:
1.5 KB
|
Line | |
---|
1 | # appveyor configuration. See http://www.appveyor.com/docs/appveyor-yml |
---|
2 | # inspired from https://github.com/ogrisel/python-appveyor-demo/blob/master/appveyor.yml |
---|
3 | |
---|
4 | environment: |
---|
5 | |
---|
6 | global: |
---|
7 | # SDK v7.0 MSVC Express 2008's SetEnv.cmd script will fail if the |
---|
8 | # /E:ON and /V:ON options are not enabled in the batch script intepreter |
---|
9 | # See: http://stackoverflow.com/a/13751649/163740 |
---|
10 | CMD_IN_ENV: "cmd /E:ON /V:ON /C .\\scripts\\appveyor_run_with_env.cmd" |
---|
11 | |
---|
12 | matrix: |
---|
13 | |
---|
14 | - PYTHON: "C:\\Python27" |
---|
15 | PYTHON_VERSION: "2.7.x" # currently 2.7.9 |
---|
16 | PYTHON_ARCH: "32" |
---|
17 | |
---|
18 | - PYTHON: "C:\\Python27-x64" |
---|
19 | PYTHON_VERSION: "3.4.x" # currently 3.4.3 |
---|
20 | PYTHON_ARCH: "64" |
---|
21 | |
---|
22 | install: |
---|
23 | |
---|
24 | - ECHO "Installed SDKs:" |
---|
25 | - ps: "ls \"C:/Program Files/Microsoft SDKs/Windows\"" |
---|
26 | |
---|
27 | # Install Python (from the official .msi of http://python.org) and pip when |
---|
28 | # not already installed. |
---|
29 | - ps: if (-not(Test-Path($env:PYTHON))) { & scripts\appveyor_install_python.ps1 } |
---|
30 | |
---|
31 | # Prepend newly installed Python to the PATH of this build (this cannot be |
---|
32 | # done from inside the powershell script as it would require to restart |
---|
33 | # the parent CMD process). |
---|
34 | - "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%" |
---|
35 | |
---|
36 | # Check that we have the expected version and architecture for Python |
---|
37 | - "python --version" |
---|
38 | - "python -c \"import struct; print(struct.calcsize('P') * 8)\"" |
---|
39 | |
---|
40 | before_build: |
---|
41 | - curl -fsS -o waf https://waf.io/waf-1.8.20 |
---|
42 | - curl -fsS -o waf.bat https://raw.githubusercontent.com/waf-project/waf/master/utils/waf.bat |
---|
43 | |
---|
44 | build_script: |
---|
45 | - waf configure build --verbose |
---|
Note: See
TracBrowser
for help on using the repository browser.