Skip to content

Commit

Permalink
Removed skip for win since pyfftw dependency now available for win (c…
Browse files Browse the repository at this point in the history
…onda-forge#2)

* Removed skip for win since pyfftw now available for win

* MNT: Re-rendered with conda-smithy 3.1.12 and pinning 2018.11.26

* Removed "noarch: python" due to absence of testing on all platforms

* Added entries to imports section

* MNT: Re-rendered with conda-smithy 3.1.12 and pinning 2018.11.27
  • Loading branch information
bwohlberg authored Nov 30, 2018
1 parent 7c192ae commit 18058e0
Show file tree
Hide file tree
Showing 6 changed files with 93 additions and 3 deletions.
59 changes: 59 additions & 0 deletions .appveyor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
# This file was automatically generated by conda-smithy. To update a component of this
# file, make changes to conda-forge.yml and/or recipe/meta.yaml, and run
# "conda smithy rerender".

environment:

BINSTAR_TOKEN:
# The BINSTAR_TOKEN secure variable. This is defined canonically in conda-forge.yml.
secure: tumuXLL8PU75WMnRDemRy02ruEq2RpNxeK3dz0MjFssnosPm2v4EFjfNB4PTotA1

matrix:
- CONFIG: win_python2.7
CONDA_INSTALL_LOCN: C:\Miniconda36-x64

- CONFIG: win_python3.6
CONDA_INSTALL_LOCN: C:\Miniconda36-x64

- CONFIG: win_python3.7
CONDA_INSTALL_LOCN: C:\Miniconda36-x64


# 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.
- cmd: |
powershell -Command "(New-Object Net.WebClient).DownloadFile('https://raw.githubusercontent.com/conda-forge/conda-forge-ci-setup-feedstock/branch2.0/recipe/conda_forge_ci_setup/ff_ci_pr_build.py', 'ff_ci_pr_build.py')"
ff_ci_pr_build -v --ci "appveyor" "%APPVEYOR_ACCOUNT_NAME%/%APPVEYOR_PROJECT_SLUG%" "%APPVEYOR_BUILD_NUMBER%" "%APPVEYOR_PULL_REQUEST_NUMBER%"
del ff_ci_pr_build.py
# Cywing's git breaks conda-build. (See https://github.com/conda-forge/conda-smithy-feedstock/pull/2.)
- cmd: rmdir C:\cygwin /s /q

# Add path, activate `conda` and update conda.
- cmd: call %CONDA_INSTALL_LOCN%\Scripts\activate.bat
- cmd: conda.exe update --yes --quiet conda

- cmd: set PYTHONUNBUFFERED=1

# Add our channels.
- cmd: conda.exe config --set show_channel_urls true
- cmd: conda.exe config --remove channels defaults
- cmd: conda.exe config --add channels defaults
- cmd: conda.exe config --add channels conda-forge

# Configure the VM.
- cmd: conda.exe install -n root --quiet --yes conda-forge-ci-setup=2
- cmd: run_conda_forge_build_setup

# Skip .NET project specific build phase.
build: off

test_script:
- conda.exe build recipe -m .ci_support\%CONFIG%.yaml --quiet
deploy_script:
- cmd: upload_package .\ .\recipe .ci_support\%CONFIG%.yaml
10 changes: 10 additions & 0 deletions .ci_support/win_python2.7.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
channel_sources:
- conda-forge,defaults
channel_targets:
- conda-forge main
pin_run_as_build:
python:
min_pin: x.x
max_pin: x.x
python:
- '2.7'
10 changes: 10 additions & 0 deletions .ci_support/win_python3.6.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
channel_sources:
- conda-forge,defaults
channel_targets:
- conda-forge main
pin_run_as_build:
python:
min_pin: x.x
max_pin: x.x
python:
- '3.6'
10 changes: 10 additions & 0 deletions .ci_support/win_python3.7.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
channel_sources:
- conda-forge,defaults
channel_targets:
- conda-forge main
pin_run_as_build:
python:
min_pin: x.x
max_pin: x.x
python:
- '3.7'
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Current build status

[![Linux](https://img.shields.io/circleci/project/github/conda-forge/sporco-feedstock/master.svg?label=Linux)](https://circleci.com/gh/conda-forge/sporco-feedstock)
[![OSX](https://img.shields.io/travis/conda-forge/sporco-feedstock/master.svg?label=macOS)](https://travis-ci.org/conda-forge/sporco-feedstock)
![Windows disabled](https://img.shields.io/badge/Windows-disabled-lightgrey.svg)
[![Windows](https://img.shields.io/appveyor/ci/conda-forge/sporco-feedstock/master.svg?label=Windows)](https://ci.appveyor.com/project/conda-forge/sporco-feedstock/branch/master)

Current release info
====================
Expand Down
5 changes: 3 additions & 2 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ source:
'{{ hash_type }}': '{{ hash_value }}'

build:
number: 1000
skip: True # [win]
number: 1001
script: "{{ PYTHON }} -m pip install . --no-deps -vv"

requirements:
Expand All @@ -40,6 +39,8 @@ requirements:
test:
imports:
- sporco
- sporco.util
- sporco.linalg

about:
home: https://github.com/bwohlberg/sporco
Expand Down

0 comments on commit 18058e0

Please sign in to comment.