Skip to content
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

Py38 libnetcdf #36

Merged
merged 3 commits into from
Apr 14, 2020
Merged
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
86 changes: 72 additions & 14 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ aliases:
name: setup_miniconda
command: |
mkdir -p workspace
git clone -b validateNightly git@github.com:CDAT/cdat workspace/cdat
git clone -b validateNightlyNew git@github.com:CDAT/cdat workspace/cdat
# install_miniconda.py installs miniconda3 under $WORKDIR/miniconda
python workspace/cdat/scripts/install_miniconda.py -w $WORKDIR -p 'py3'

Expand Down Expand Up @@ -71,7 +71,7 @@ aliases:
jobs:
macos_setup:
macos:
xcode: "11.3.0"
xcode: "11.4.0"
environment:
WORKDIR: /Users/distiller/project/macos_build
PKG_NAME: "genutil"
Expand Down Expand Up @@ -103,16 +103,16 @@ jobs:
paths:
- linux_build

macos_genutil_py2:
macos_genutil_py36:
macos:
xcode: "11.3.0"
xcode: "11.4.0"
environment:
WORKDIR: /Users/distiller/project/macos_build
PKG_NAME: "genutil"
REPO_NAME: "genutil"
ENV_NAME: "test_genutil"
CONDA_PY_VER: "python<3"
BUILD_VARIANT_VER: "2.7"
CONDA_PY_VER: "python>=3.6,<3.7"
BUILD_VARIANT_VER: "3.6"
steps:
- checkout
- attach_workspace:
Expand All @@ -130,7 +130,7 @@ jobs:

macos_genutil_py37:
macos:
xcode: "11.3.0"
xcode: "11.4.0"
environment:
WORKDIR: /Users/distiller/project/macos_build
PKG_NAME: "genutil"
Expand All @@ -153,16 +153,41 @@ jobs:
paths:
- macos_build/miniconda/conda-bld/osx-64/genutil*tar.bz2

linux_genutil_py2:
macos_genutil_py38:
macos:
xcode: "11.4.0"
environment:
WORKDIR: /Users/distiller/project/macos_build
PKG_NAME: "genutil"
REPO_NAME: "genutil"
ENV_NAME: "test_genutil"
CONDA_PY_VER: "python>=3.8,<3.9"
BUILD_VARIANT_VER: "3.8"
steps:
- checkout
- attach_workspace:
at: .
- run: *conda_build
- run: *setup_run_tests
- run: *run_tests
- store_artifacts:
path: tests_html
destination: tests_html
- persist_to_workspace:
root: .
paths:
- macos_build/miniconda/conda-bld/osx-64/genutil*tar.bz2

linux_genutil_py36:
machine:
image: circleci/classic:latest
environment:
WORKDIR: /home/circleci/project/linux_build
PKG_NAME: "genutil"
REPO_NAME: "genutil"
ENV_NAME: "test_genutil"
CONDA_PY_VER: "python<3"
BUILD_VARIANT_VER: "2.7"
CONDA_PY_VER: "python>=3.6,<3.7"
BUILD_VARIANT_VER: "3.6"
steps:
- checkout
- attach_workspace:
Expand Down Expand Up @@ -206,6 +231,31 @@ jobs:
paths:
- linux_build/miniconda/conda-bld/linux-64/genutil*tar.bz2

linux_genutil_py38:
machine:
image: circleci/classic:latest
environment:
WORKDIR: /home/circleci/project/linux_build
PKG_NAME: "genutil"
REPO_NAME: "genutil"
ENV_NAME: "test_genutil"
CONDA_PY_VER: "python>=3.8,<3.9"
BUILD_VARIANT_VER: "3.8"
steps:
- checkout
- attach_workspace:
at: .
- run: *conda_build
- run: *setup_run_tests
- run: *run_tests
- store_artifacts:
path: tests_html
destination: tests_html
- persist_to_workspace:
root: .
paths:
- linux_build/miniconda/conda-bld/linux-64/genutil*tar.bz2

upload:
machine:
image: circleci/classic:latest
Expand All @@ -227,21 +277,29 @@ workflows:
jobs:
- macos_setup
- linux_setup
- macos_genutil_py2:
- macos_genutil_py36:
requires:
- macos_setup
- macos_genutil_py37:
requires:
- macos_setup
- linux_genutil_py2:
- macos_genutil_py38:
requires:
- macos_setup
- linux_genutil_py36:
requires:
- linux_setup
- linux_genutil_py37:
requires:
- linux_setup
- linux_genutil_py38:
requires:
- linux_setup
- upload:
requires:
- macos_genutil_py2
- macos_genutil_py36
- macos_genutil_py37
- linux_genutil_py2
- macos_genutil_py38
- linux_genutil_py36
- linux_genutil_py37
- linux_genutil_py38