This repository was archived by the owner on Jul 22, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +14
-8
lines changed
Expand file tree Collapse file tree 3 files changed +14
-8
lines changed Original file line number Diff line number Diff line change @@ -47,26 +47,21 @@ init:
4747 - python -c "import ctypes; print(ctypes.sizeof(ctypes.c_wchar))"
4848
4949install :
50- # install conda and deps
51- - ps : .\ci\install_miniconda.ps1
52-
5350 # install for wheels
5451 - pip install --upgrade pip wheel six
5552
5653build_script :
5754 # build clean sdist & wheel
5855 - python setup.py sdist bdist_wheel
5956
60- # build and dist conda package
61- - ' %CMD_IN_ENV% %CONDA_BLD%\Scripts\conda build conda.recipe'
62- - ps : $CONDA_PKG=(&"$env:CONDA_BLD\Scripts\conda" build conda.recipe --output -q)
63- - ps : Copy-Item $CONDA_PKG "$env:APPVEYOR_BUILD_FOLDER\dist\"
64-
6557test_script :
6658 - pip install --no-index --find-links=.\dist\ pythonnet
6759 - ps : Copy-Item (Resolve-Path .\build\*\Python.Test.dll) C:\testdir
6860 - python src\tests\runtests.py
6961 # - "%NUNIT% src/embed_tests/bin/%PLATFORM%/ReleaseWin/Python.EmbeddingTest.dll"
7062
63+ # Build conda-recipe on Pull Requests
64+ - ps : .\ci\appveyor_build_recipe.ps1
65+
7166artifacts :
7267 - path : dist\*
Original file line number Diff line number Diff line change 1+ if ($env: APPVEYOR_PULL_REQUEST_NUMBER ) {
2+ Invoke-Expression .\ci\install_miniconda.ps1
3+ & " $env: CONDA_BLD \Scripts\conda" build conda.recipe -- dirty - q
4+ $CONDA_PKG = (& " $env: CONDA_BLD \Scripts\conda" build conda.recipe -- output - q)
5+ Copy-Item $CONDA_PKG " $env: APPVEYOR_BUILD_FOLDER \dist\"
6+ }
Original file line number Diff line number Diff line change 1+ # Conda Recipe
2+
3+ The files here are needed to build Python.Net with conda
4+
5+ http://conda.pydata.org/docs/building/recipe.html
You can’t perform that action at this time.
0 commit comments