Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
60 changes: 60 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ version: 2.1
# - circleci config process .circleci/config.yml > gen.yml && circleci local execute -c gen.yml --job binary_linux_wheel
# - Replace binary_linux_wheel with the name of the job you want to test

orbs:
win: circleci/windows@1.0.0

binary_common: &binary_common
parameters:
# Edit these defaults to do a release`
Expand Down Expand Up @@ -99,6 +102,35 @@ jobs:
- store_artifacts:
path: /Users/distiller/miniconda3/conda-bld/osx-64

binary_windows_wheel:
<<: *binary_common
executor: win/vs2019
steps:
- checkout
- run:
command: |
choco install miniconda3
# For some reason, refreshenv doesn't work
$env:Path += ";C:\tools\miniconda3\Scripts"
bash packaging/build_wheel.sh
- store_artifacts:
path: dist

binary_windows_conda:
<<: *binary_common
executor: win/vs2019
steps:
- checkout
- run:
command: |
choco install miniconda3
# For some reason, refreshenv doesn't work
$env:Path += ";C:\tools\miniconda3\Scripts"
conda install -yq conda-build
bash packaging/build_conda.sh
- store_artifacts:
path: /opt/conda/conda-bld/linux-64

workflows:
build:
jobs:
Expand Down Expand Up @@ -135,6 +167,22 @@ workflows:
- binary_macos_wheel:
name: binary_macos_wheel_py3.7
python_version: "3.7"
- binary_windows_wheel:
name: binary_windows_wheel_py2.7
python_version: "2.7"
- binary_windows_wheel:
name: binary_windows_wheel_py2.7_unicode
python_version: "2.7"
unicode_abi: "1"
- binary_windows_wheel:
name: binary_windows_wheel_py3.5
python_version: "3.5"
- binary_windows_wheel:
name: binary_windows_wheel_py3.6
python_version: "3.6"
- binary_windows_wheel:
name: binary_windows_wheel_py3.7
python_version: "3.7"
- binary_linux_conda:
name: binary_linux_conda_py2.7
python_version: "2.7"
Expand All @@ -158,4 +206,16 @@ workflows:
python_version: "3.6"
- binary_macos_conda:
name: binary_macos_conda_py3.7
python_version: "3.7"
- binary_windows_conda:
name: binary_windows_conda_py2.7
python_version: "2.7"
- binary_windows_conda:
name: binary_windows_conda_py3.5
python_version: "3.5"
- binary_windows_conda:
name: binary_windows_conda_py3.6
python_version: "3.6"
- binary_windows_conda:
name: binary_windows_conda_py3.7
python_version: "3.7"
34 changes: 33 additions & 1 deletion .circleci/config.yml.in
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ version: 2.1
# - circleci config process .circleci/config.yml > gen.yml && circleci local execute -c gen.yml --job binary_linux_wheel
# - Replace binary_linux_wheel with the name of the job you want to test

orbs:
win: circleci/windows@1.0.0

binary_common: &binary_common
parameters:
# Edit these defaults to do a release`
Expand Down Expand Up @@ -99,12 +102,41 @@ jobs:
- store_artifacts:
path: /Users/distiller/miniconda3/conda-bld/osx-64

binary_windows_wheel:
<<: *binary_common
executor: win/vs2019
steps:
- checkout
- run:
command: |
choco install miniconda3
# For some reason, refreshenv doesn't work
$env:Path += ";C:\tools\miniconda3\Scripts"
bash packaging/build_wheel.sh
- store_artifacts:
path: dist

binary_windows_conda:
<<: *binary_common
executor: win/vs2019
steps:
- checkout
- run:
command: |
choco install miniconda3
# For some reason, refreshenv doesn't work
$env:Path += ";C:\tools\miniconda3\Scripts"
conda install -yq conda-build
bash packaging/build_conda.sh
- store_artifacts:
path: /opt/conda/conda-bld/linux-64

workflows:
build:
jobs:
- circleci_consistency
{%- for btype in ["wheel", "conda"] -%}
{%- for os in ["linux", "macos"] -%}
{%- for os in ["linux", "macos", "windows"] -%}
{%- for python_version in ["2.7", "3.5", "3.6", "3.7"] %}
- binary_{{os}}_{{btype}}:
name: binary_{{os}}_{{btype}}_py{{python_version}}
Expand Down