-
-
Notifications
You must be signed in to change notification settings - Fork 67
Cross-platform VTK 7 build #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
803b65b
f35da59
b8d03e6
511130d
fc6b626
4bd23e1
1736582
50155f5
d0dc9e3
6aa8324
ff85347
b326fc4
cedba98
1ea136a
0ee05c8
83d2a68
b645f0c
c6aac84
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,81 @@ | ||
| # This file was automatically generated by conda-smithy. To update a component of this | ||
| # file, make changes to conda-forge.yaml and/or recipe/meta.yaml, and run | ||
| # "conda-smithy regenerate". | ||
|
|
||
| environment: | ||
|
|
||
| CONDA_INSTALL_LOCN: "C:\\conda" | ||
|
|
||
| # SDK v7.0 MSVC Express 2008's SetEnv.cmd script will fail if the | ||
| # /E:ON and /V:ON options are not enabled in the batch script intepreter | ||
| # See: http://stackoverflow.com/a/13751649/163740 | ||
| CMD_IN_ENV: "cmd /E:ON /V:ON /C obvci_appveyor_python_build_env.cmd" | ||
|
|
||
| # We set a default Python version for the miniconda that is to be installed. This can be | ||
| # overridden in the matrix definition where appropriate. | ||
| CONDA_PY: "27" | ||
| BINSTAR_TOKEN: | ||
| # The BINSTAR_TOKEN secure variable. This is defined canonically in conda-forge.yml. | ||
| secure: MP4hZYylDyUWEsrt3u3cod2sbFeRwUziH02mvQOdbjsTO/l1yIxDkP/76rSIjcGC | ||
|
|
||
| matrix: | ||
| - TARGET_ARCH: x86 | ||
| CONDA_PY: 27 | ||
|
|
||
| - TARGET_ARCH: x64 | ||
| CONDA_PY: 27 | ||
|
|
||
| - TARGET_ARCH: x86 | ||
| CONDA_PY: 34 | ||
|
|
||
| - TARGET_ARCH: x64 | ||
| CONDA_PY: 34 | ||
|
|
||
| - TARGET_ARCH: x86 | ||
| CONDA_PY: 35 | ||
|
|
||
| - TARGET_ARCH: x64 | ||
| CONDA_PY: 35 | ||
|
|
||
|
|
||
| # We always use a 64-bit machine, but can build x86 distributions | ||
| # with the TARGET_ARCH variable. | ||
| platform: | ||
| - x64 | ||
|
|
||
| install: | ||
| # If there is a newer build queued for the same PR, cancel this one. | ||
| # The AppVeyor 'rollout builds' option is supposed to serve the same | ||
| # purpose but it is problematic because it tends to cancel builds pushed | ||
| # directly to master instead of just PR builds (or the converse). | ||
| # credits: JuliaLang developers. | ||
| - ps: if ($env:APPVEYOR_PULL_REQUEST_NUMBER -and $env:APPVEYOR_BUILD_NUMBER -ne ((Invoke-RestMethod ` | ||
| https://ci.appveyor.com/api/projects/$env:APPVEYOR_ACCOUNT_NAME/$env:APPVEYOR_PROJECT_SLUG/history?recordsNumber=50).builds | ` | ||
| Where-Object pullRequestId -eq $env:APPVEYOR_PULL_REQUEST_NUMBER)[0].buildNumber) { ` | ||
| throw "There are newer queued builds for this pull request, failing early." } | ||
|
|
||
| # Cywing's git breaks conda-build. (See https://github.com/conda-forge/conda-smithy-feedstock/pull/2.) | ||
| - cmd: rmdir C:\cygwin /s /q | ||
| - appveyor DownloadFile "https://raw.githubusercontent.com/pelson/Obvious-CI/master/bootstrap-obvious-ci-and-miniconda.py" | ||
| - cmd: python bootstrap-obvious-ci-and-miniconda.py %CONDA_INSTALL_LOCN% %TARGET_ARCH% %CONDA_PY:~0,1% --without-obvci | ||
| - cmd: set PATH=%CONDA_INSTALL_LOCN%;%CONDA_INSTALL_LOCN%\scripts;%PATH% | ||
| - cmd: set PYTHONUNBUFFERED=1 | ||
|
|
||
| - cmd: conda config --set show_channel_urls true | ||
| - cmd: conda install -c pelson/channel/development --yes --quiet obvious-ci | ||
| - cmd: conda config --add channels conda-forge | ||
| - cmd: conda info | ||
| - cmd: conda install -n root --quiet --yes conda-build anaconda-client jinja2 setuptools | ||
| # Workaround for Python 3.4 and x64 bug in latest conda-build. | ||
| # FIXME: Remove once there is a release that fixes the upstream issue | ||
| # ( https://github.com/conda/conda-build/issues/895 ). | ||
| - cmd: if "%TARGET_ARCH%" == "x64" if "%CONDA_PY%" == "34" conda install conda-build=1.20.0 --yes | ||
|
|
||
| # Skip .NET project specific build phase. | ||
| build: off | ||
|
|
||
| test_script: | ||
| - "%CMD_IN_ENV% conda build recipe --quiet" | ||
| deploy_script: | ||
|
|
||
| - 'python ci_support\upload_or_check_non_existence.py .\recipe conda-forge --channel=main' |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -11,23 +11,25 @@ source: | |
| sha256: 78a990a15ead79cdc752e86b83cfab7dbf5b7ef51ba409db02570dbdd9ec32c3 | ||
|
|
||
| build: | ||
| number: 0 | ||
| number: 1 | ||
| features: | ||
| - vc9 # [win and py27] | ||
| - vc10 # [win and py34] | ||
| - vc14 # [win and py35] | ||
| # only x64 py2.7 and x64 py3.5 on linux will complete before build timeout | ||
| # see https://github.com/conda-forge/staged-recipes/pull/453#issuecomment-228308297 | ||
| skip: true # [win or osx or linux32 or py34] | ||
| # skipped to avoid timeouts, will be adressed in future PR | ||
| skip: true # [(unix and py34) or osx] | ||
|
|
||
| requirements: | ||
| build: | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Please add
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. OK. What exactly does that do?
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It sets some environment variables with an activation script. This ensures |
||
| - freeglut # [linux] | ||
| - toolchain | ||
| - cmake | ||
| - ninja | ||
| - freeglut # [linux] | ||
| - python | ||
| run: | ||
| - freeglut # [linux] | ||
| - python | ||
| - future | ||
|
|
||
| test: | ||
| imports: | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add the following.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done and done!