forked from conda-forge/sporco-feedstock
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* updated v0.1.11 * MNT: Re-rendered with conda-build 3.17.8, conda-smithy 3.3.2, and conda-forge-pinning 2019.04.12
- Loading branch information
1 parent
18058e0
commit bd7ef16
Showing
21 changed files
with
379 additions
and
205 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
# This file was generated automatically from conda-smithy. To update this configuration, | ||
# update the conda-forge.yml and/or the recipe/meta.yaml. | ||
# -*- mode: yaml -*- | ||
|
||
jobs: | ||
- job: linux | ||
pool: | ||
vmImage: ubuntu-16.04 | ||
timeoutInMinutes: 360 | ||
strategy: | ||
maxParallel: 8 | ||
matrix: | ||
linux_python2.7: | ||
CONFIG: linux_python2.7 | ||
UPLOAD_PACKAGES: True | ||
linux_python3.6: | ||
CONFIG: linux_python3.6 | ||
UPLOAD_PACKAGES: True | ||
linux_python3.7: | ||
CONFIG: linux_python3.7 | ||
UPLOAD_PACKAGES: True | ||
steps: | ||
- script: | | ||
sudo pip install --upgrade pip | ||
sudo pip install setuptools shyaml | ||
displayName: Install dependencies | ||
# configure qemu binfmt-misc running. This allows us to run docker containers | ||
# embedded qemu-static | ||
- script: | | ||
docker run --rm --privileged multiarch/qemu-user-static:register --reset --credential yes | ||
ls /proc/sys/fs/binfmt_misc/ | ||
condition: not(startsWith(variables['CONFIG'], 'linux_64')) | ||
displayName: Configure binfmt_misc | ||
- script: .azure-pipelines/run_docker_build.sh | ||
displayName: Run docker build | ||
env: | ||
BINSTAR_TOKEN: $(BINSTAR_TOKEN) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
# This file was generated automatically from conda-smithy. To update this configuration, | ||
# update the conda-forge.yml and/or the recipe/meta.yaml. | ||
# -*- mode: yaml -*- | ||
|
||
jobs: | ||
- job: osx | ||
pool: | ||
vmImage: macOS-10.13 | ||
timeoutInMinutes: 360 | ||
strategy: | ||
maxParallel: 8 | ||
matrix: | ||
osx_python2.7: | ||
CONFIG: osx_python2.7 | ||
UPLOAD_PACKAGES: True | ||
osx_python3.6: | ||
CONFIG: osx_python3.6 | ||
UPLOAD_PACKAGES: True | ||
osx_python3.7: | ||
CONFIG: osx_python3.7 | ||
UPLOAD_PACKAGES: True | ||
|
||
steps: | ||
# TODO: Fast finish on azure pipelines? | ||
- script: | | ||
echo "Fast Finish" | ||
- script: | | ||
echo "Removing homebrew from Azure to avoid conflicts." | ||
curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall > ~/uninstall_homebrew | ||
chmod +x ~/uninstall_homebrew | ||
~/uninstall_homebrew -fq | ||
rm ~/uninstall_homebrew | ||
displayName: Remove homebrew | ||
- bash: | | ||
echo "##vso[task.prependpath]$CONDA/bin" | ||
sudo chown -R $USER $CONDA | ||
displayName: Add conda to PATH | ||
- script: | | ||
source activate base | ||
conda install -n base -c conda-forge --quiet --yes conda-forge-ci-setup=2 conda-build shyaml | ||
displayName: 'Add conda-forge-ci-setup=2' | ||
- script: | | ||
source activate base | ||
echo "Configuring conda." | ||
setup_conda_rc ./ ./recipe ./.ci_support/${CONFIG}.yaml | ||
source run_conda_forge_build_setup | ||
conda update --yes --quiet --override-channels -c conda-forge -c defaults --all | ||
env: { | ||
OSX_FORCE_SDK_DOWNLOAD: "1" | ||
} | ||
displayName: Configure conda and conda-build | ||
- script: | | ||
source activate base | ||
mangle_compiler ./ ./recipe ./.ci_support/${CONFIG}.yaml | ||
displayName: Mangle compiler | ||
- script: | | ||
source activate base | ||
make_build_number ./ ./recipe ./.ci_support/${CONFIG}.yaml | ||
displayName: Generate build number clobber file | ||
- script: | | ||
source activate base | ||
conda build ./recipe -m ./.ci_support/${CONFIG}.yaml --clobber-file ./.ci_support/clobber_${CONFIG}.yaml | ||
displayName: Build recipe | ||
- script: | | ||
source activate base | ||
upload_package ./ ./recipe ./.ci_support/${CONFIG}.yaml | ||
displayName: Upload recipe | ||
env: | ||
BINSTAR_TOKEN: $(BINSTAR_TOKEN) | ||
condition: not(eq(variables['UPLOAD_PACKAGES'], 'False')) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,109 @@ | ||
# This file was generated automatically from conda-smithy. To update this configuration, | ||
# update the conda-forge.yml and/or the recipe/meta.yaml. | ||
# -*- mode: yaml -*- | ||
|
||
jobs: | ||
- job: win | ||
pool: | ||
vmImage: vs2017-win2016 | ||
timeoutInMinutes: 360 | ||
strategy: | ||
maxParallel: 4 | ||
matrix: | ||
win_python2.7: | ||
CONFIG: win_python2.7 | ||
CONDA_BLD_PATH: D:\\bld\\ | ||
UPLOAD_PACKAGES: False | ||
win_python3.6: | ||
CONFIG: win_python3.6 | ||
CONDA_BLD_PATH: D:\\bld\\ | ||
UPLOAD_PACKAGES: False | ||
win_python3.7: | ||
CONFIG: win_python3.7 | ||
CONDA_BLD_PATH: D:\\bld\\ | ||
UPLOAD_PACKAGES: False | ||
steps: | ||
# TODO: Fast finish on azure pipelines? | ||
- script: | | ||
ECHO ON | ||
- script: | | ||
choco install vcpython27 -fdv -y --debug | ||
condition: contains(variables['CONFIG'], 'vs2008') | ||
displayName: Install vcpython27.msi (if needed) | ||
# Cygwin's git breaks conda-build. (See https://github.com/conda-forge/conda-smithy-feedstock/pull/2.) | ||
# - script: rmdir C:\cygwin /s /q | ||
# continueOnError: true | ||
|
||
- powershell: | | ||
Set-PSDebug -Trace 1 | ||
$batchcontent = @" | ||
ECHO ON | ||
SET vcpython=C:\Program Files (x86)\Common Files\Microsoft\Visual C++ for Python\9.0 | ||
DIR "%vcpython%" | ||
CALL "%vcpython%\vcvarsall.bat" %* | ||
"@ | ||
$batchDir = "C:\Program Files (x86)\Common Files\Microsoft\Visual C++ for Python\9.0\VC" | ||
$batchPath = "$batchDir" + "\vcvarsall.bat" | ||
New-Item -Path $batchPath -ItemType "file" -Force | ||
Set-Content -Value $batchcontent -Path $batchPath | ||
Get-ChildItem -Path $batchDir | ||
Get-ChildItem -Path ($batchDir + '\..') | ||
condition: contains(variables['CONFIG'], 'vs2008') | ||
displayName: Patch vs2008 (if needed) | ||
- task: CondaEnvironment@1 | ||
inputs: | ||
packageSpecs: 'python=3.6 conda-build conda conda-forge::conda-forge-ci-setup=2' # Optional | ||
installOptions: "-c conda-forge" | ||
updateConda: false | ||
displayName: Install conda-build and activate environment | ||
|
||
- script: set PYTHONUNBUFFERED=1 | ||
|
||
# Configure the VM | ||
- script: setup_conda_rc .\ .\recipe .\.ci_support\%CONFIG%.yaml | ||
|
||
# Configure the VM. | ||
- script: | | ||
run_conda_forge_build_setup | ||
displayName: conda-forge build setup | ||
- script: | | ||
rmdir C:\strawberry /s /q | ||
continueOnError: true | ||
displayName: remove strawberryperl | ||
# Special cased version setting some more things! | ||
- script: | | ||
conda.exe build recipe -m .ci_support\%CONFIG%.yaml | ||
displayName: Build recipe (vs2008) | ||
env: | ||
VS90COMNTOOLS: "C:\\Program Files (x86)\\Common Files\\Microsoft\\Visual C++ for Python\\9.0\\VC\\bin" | ||
PYTHONUNBUFFERED: 1 | ||
condition: contains(variables['CONFIG'], 'vs2008') | ||
- script: | | ||
conda.exe build recipe -m .ci_support\%CONFIG%.yaml | ||
displayName: Build recipe | ||
env: | ||
PYTHONUNBUFFERED: 1 | ||
condition: not(contains(variables['CONFIG'], 'vs2008')) | ||
- script: | | ||
upload_package .\ .\recipe .ci_support\%CONFIG%.yaml | ||
env: | ||
BINSTAR_TOKEN: $(BINSTAR_TOKEN) | ||
condition: not(eq(variables['UPLOAD_PACKAGES'], 'False')) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.