Skip to content

Commit

Permalink
5.0 Beta 1 Release (apple#1205)
Browse files Browse the repository at this point in the history
* 5.0 Beta 1 Release

* Update docker image

* Update conda path

* Remove old test job from CI
  • Loading branch information
TobyRoseman authored Jun 8, 2021
1 parent 6ec26d2 commit f19052c
Show file tree
Hide file tree
Showing 310 changed files with 67,846 additions and 85,564 deletions.
7 changes: 4 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,14 @@ cmake_install.cmake
/deps/protobuf/cmake/coremltools.build/
/mlmodel/coremltools.build/
/build/
/envs/
/docs/_build/
/docs/generated/
/coremltools.egg-info/
/*.egg-info/
/dist/
/envs/
.DS_Store
*.xcodeproj/
mlmodel_test_runner
.vscode/
.cache/
.idea/
*.log
36 changes: 26 additions & 10 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ check_python_flake8:
- docker
stage: build
script:
- export PATH=$PATH:$HOME/miniconda3/condabin
- export PATH=$PATH:/opt/anaconda/bin/
- zsh -e scripts/build.sh --num-procs=4 --python=$PYTHON --dist
artifacts:
expire_in: 2 weeks
Expand All @@ -40,25 +40,25 @@ check_python_flake8:

build_wheel_linux_py35:
<<: *build_linux
image: registry.gitlab.com/zach_nation/coremltools/build-image-ubuntu-14.04:1.0.3
image: registry.gitlab.com/zach_nation/coremltools/build-image-ubuntu-20.04:1.0.2
variables:
PYTHON: "3.5"

build_wheel_linux_py36:
<<: *build_linux
image: registry.gitlab.com/zach_nation/coremltools/build-image-ubuntu-14.04:1.0.3
image: registry.gitlab.com/zach_nation/coremltools/build-image-ubuntu-20.04:1.0.2
variables:
PYTHON: "3.6"

build_wheel_linux_py37:
<<: *build_linux
image: registry.gitlab.com/zach_nation/coremltools/build-image-ubuntu-14.04:1.0.3
image: registry.gitlab.com/zach_nation/coremltools/build-image-ubuntu-20.04:1.0.2
variables:
PYTHON: "3.7"

build_wheel_linux_py38:
<<: *build_linux
image: registry.gitlab.com/zach_nation/coremltools/build-image-ubuntu-14.04:1.0.3
image: registry.gitlab.com/zach_nation/coremltools/build-image-ubuntu-20.04:1.0.2
variables:
PYTHON: "3.8"

Expand Down Expand Up @@ -135,7 +135,6 @@ test_macos11_py37_coremltools_test:
changes:
- coremltools/test/**/*.{py}
- coremltools/models/**/*.{py}
- coremltools/converters/caffe/**/*.{py}
- coremltools/converters/keras/**/*.{py}
- coremltools/converters/libsvm/**/*.{py}
- coremltools/converters/sklearn/**/*.{py}
Expand Down Expand Up @@ -233,14 +232,31 @@ test_macos10_15_py38_coremltools_smoke_test:
TEST_PACKAGE: coremltools.test.neural_network.test_simple_nn_inference
PYTHON: "3.8"

test_macos10_14_py38_coremltools_smoke_test:
#########################################################################
##
## macOS - Smoke Test on older versions
##
#########################################################################

test_macos11_py38_coremltools_smoke_test:
<<: *test_macos_pkg
tags:
- macos11
dependencies:
- build_wheel_macos_py38
variables:
WHEEL_PATH: build/dist/*cp38*10_16*
TEST_PACKAGE: coremltools.test.neural_network.test_simple_nn_inference
PYTHON: "3.8"

test_macos10_15_py38_coremltools_smoke_test:
<<: *test_macos_pkg
tags:
- macos10.14
- macos10.15
dependencies:
- build_wheel_macos_py38
variables:
WHEEL_PATH: build/dist/*cp38*10_14*
WHEEL_PATH: build/dist/*cp38*10_15*
TEST_PACKAGE: coremltools.test.neural_network.test_simple_nn_inference
PYTHON: "3.8"

Expand All @@ -253,7 +269,7 @@ build_documentation:
tags:
- docker
stage: test
image: registry.gitlab.com/zach_nation/coremltools/build-image-ubuntu-14.04:1.0.3
image: registry.gitlab.com/zach_nation/coremltools/build-image-ubuntu-20.04:1.0.0
script:
- bash -e scripts/build_docs.sh --wheel-path=${WHEEL_PATH} --python=${PYTHON}
dependencies:
Expand Down
Loading

0 comments on commit f19052c

Please sign in to comment.