From e01810dc62837c50600649d5d3b0032832c95178 Mon Sep 17 00:00:00 2001 From: Pasha Stetsenko Date: Thu, 1 Jul 2021 11:47:05 -0700 Subject: [PATCH] Update jenkinsfile to build python 3.9 stages --- ci/Jenkinsfile.groovy | 47 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/ci/Jenkinsfile.groovy b/ci/Jenkinsfile.groovy index 4ef8f37a39..968c04b8ef 100644 --- a/ci/Jenkinsfile.groovy +++ b/ci/Jenkinsfile.groovy @@ -255,6 +255,7 @@ ansiColor('xterm') { /opt/python/cp36-cp36m/bin/python3.6 ci/ext.py wheel --audit && \ /opt/python/cp37-cp37m/bin/python3.7 ci/ext.py wheel --audit && \ /opt/python/cp38-cp38/bin/python3.8 ci/ext.py wheel --audit && \ + /opt/python/cp39-cp39/bin/python3.9 ci/ext.py wheel --audit && \ ls -la dist" """ stash name: 'x86_64-manylinux-debugwheels', includes: "dist/*debug*.whl" @@ -282,6 +283,8 @@ ansiColor('xterm') { python ci/ext.py wheel . /Users/jenkins/anaconda/bin/activate datatable-py38 python ci/ext.py wheel + . /Users/jenkins/anaconda/bin/activate datatable-py39 + python ci/ext.py wheel ls dist """ stash name: 'x86_64-macos-wheels', includes: "dist/*.whl" @@ -321,6 +324,7 @@ ansiColor('xterm') { /opt/python/cp36-cp36m/bin/python3.6 ci/ext.py wheel --audit && \ /opt/python/cp37-cp37m/bin/python3.7 ci/ext.py wheel --audit && \ /opt/python/cp38-cp38/bin/python3.8 ci/ext.py wheel --audit && \ + /opt/python/cp39-cp39/bin/python3.9 ci/ext.py wheel --audit && \ ls -la dist" """ stash name: 'ppc64le-manylinux-debugwheels', includes: "dist/*debug*.whl" @@ -381,6 +385,20 @@ ansiColor('xterm') { } } }) << + namedStage('Test x86_64-manylinux-py39', doPy38Tests, { stageName, stageDir -> + node(NODE_LINUX) { + buildSummary.stageWithSummary(stageName, stageDir) { + cleanWs() + dumpInfo() + dir(stageDir) { + unstash 'datatable-sources' + unstash 'x86_64-manylinux-wheels' + test_in_docker("x86_64-manylinux-py39", "39", + DOCKER_IMAGE_X86_64_MANYLINUX) + } + } + } + }) << namedStage('Test x86_64-manylinux-py36-debug', { stageName, stageDir -> node(NODE_LINUX) { buildSummary.stageWithSummary(stageName, stageDir) { @@ -437,6 +455,20 @@ ansiColor('xterm') { } } }) << + namedStage('Test ppc64le-manylinux-py39', doPpcTests && doPy38Tests, { stageName, stageDir -> + node(NODE_PPC) { + buildSummary.stageWithSummary(stageName, stageDir) { + cleanWs() + dumpInfo() + dir(stageDir) { + unstash 'datatable-sources' + unstash 'ppc64le-manylinux-wheels' + test_in_docker("ppc64le-manylinux-py39", "39", + DOCKER_IMAGE_PPC64LE_MANYLINUX) + } + } + } + }) << namedStage('Test ppc64le-manylinux-py36-debug', doPpcTests, { stageName, stageDir -> node(NODE_PPC) { buildSummary.stageWithSummary(stageName, stageDir) { @@ -451,6 +483,19 @@ ansiColor('xterm') { } } }) << + namedStage('Test x86_64-macos-py39', doPy38Tests, { stageName, stageDir -> + node(NODE_MACOS) { + buildSummary.stageWithSummary(stageName, stageDir) { + cleanWs() + dumpInfo() + dir(stageDir) { + unstash 'datatable-sources' + unstash 'x86_64-macos-wheels' + test_macos('39') + } + } + } + }) << namedStage('Test x86_64-macos-py38', doPy38Tests, { stageName, stageDir -> node(NODE_MACOS) { buildSummary.stageWithSummary(stageName, stageDir) { @@ -724,6 +769,7 @@ def get_python_for_docker(String pyver, String image) { if (pyver == "36") return "/opt/python/cp36-cp36m/bin/python3.6" if (pyver == "37") return "/opt/python/cp37-cp37m/bin/python3.7" if (pyver == "38") return "/opt/python/cp38-cp38/bin/python3.8" + if (pyver == "39") return "/opt/python/cp39-cp39/bin/python3.9" } throw new Exception("Unknown python ${pyver} for docker ${image}") } @@ -758,6 +804,7 @@ def test_macos(String pyver) { def get_env_for_macos(String pyver) { + if (pyver == "39") return "datatable-py39" if (pyver == "38") return "datatable-py38" if (pyver == "37") return "datatable-py37-with-pandas" if (pyver == "36") return "datatable-py36-with-pandas"