Skip to content

Commit e01810d

Browse files
committed
Update jenkinsfile to build python 3.9 stages
1 parent cc8aab3 commit e01810d

File tree

1 file changed

+47
-0
lines changed

1 file changed

+47
-0
lines changed

ci/Jenkinsfile.groovy

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -255,6 +255,7 @@ ansiColor('xterm') {
255255
/opt/python/cp36-cp36m/bin/python3.6 ci/ext.py wheel --audit && \
256256
/opt/python/cp37-cp37m/bin/python3.7 ci/ext.py wheel --audit && \
257257
/opt/python/cp38-cp38/bin/python3.8 ci/ext.py wheel --audit && \
258+
/opt/python/cp39-cp39/bin/python3.9 ci/ext.py wheel --audit && \
258259
ls -la dist"
259260
"""
260261
stash name: 'x86_64-manylinux-debugwheels', includes: "dist/*debug*.whl"
@@ -282,6 +283,8 @@ ansiColor('xterm') {
282283
python ci/ext.py wheel
283284
. /Users/jenkins/anaconda/bin/activate datatable-py38
284285
python ci/ext.py wheel
286+
. /Users/jenkins/anaconda/bin/activate datatable-py39
287+
python ci/ext.py wheel
285288
ls dist
286289
"""
287290
stash name: 'x86_64-macos-wheels', includes: "dist/*.whl"
@@ -321,6 +324,7 @@ ansiColor('xterm') {
321324
/opt/python/cp36-cp36m/bin/python3.6 ci/ext.py wheel --audit && \
322325
/opt/python/cp37-cp37m/bin/python3.7 ci/ext.py wheel --audit && \
323326
/opt/python/cp38-cp38/bin/python3.8 ci/ext.py wheel --audit && \
327+
/opt/python/cp39-cp39/bin/python3.9 ci/ext.py wheel --audit && \
324328
ls -la dist"
325329
"""
326330
stash name: 'ppc64le-manylinux-debugwheels', includes: "dist/*debug*.whl"
@@ -381,6 +385,20 @@ ansiColor('xterm') {
381385
}
382386
}
383387
}) <<
388+
namedStage('Test x86_64-manylinux-py39', doPy38Tests, { stageName, stageDir ->
389+
node(NODE_LINUX) {
390+
buildSummary.stageWithSummary(stageName, stageDir) {
391+
cleanWs()
392+
dumpInfo()
393+
dir(stageDir) {
394+
unstash 'datatable-sources'
395+
unstash 'x86_64-manylinux-wheels'
396+
test_in_docker("x86_64-manylinux-py39", "39",
397+
DOCKER_IMAGE_X86_64_MANYLINUX)
398+
}
399+
}
400+
}
401+
}) <<
384402
namedStage('Test x86_64-manylinux-py36-debug', { stageName, stageDir ->
385403
node(NODE_LINUX) {
386404
buildSummary.stageWithSummary(stageName, stageDir) {
@@ -437,6 +455,20 @@ ansiColor('xterm') {
437455
}
438456
}
439457
}) <<
458+
namedStage('Test ppc64le-manylinux-py39', doPpcTests && doPy38Tests, { stageName, stageDir ->
459+
node(NODE_PPC) {
460+
buildSummary.stageWithSummary(stageName, stageDir) {
461+
cleanWs()
462+
dumpInfo()
463+
dir(stageDir) {
464+
unstash 'datatable-sources'
465+
unstash 'ppc64le-manylinux-wheels'
466+
test_in_docker("ppc64le-manylinux-py39", "39",
467+
DOCKER_IMAGE_PPC64LE_MANYLINUX)
468+
}
469+
}
470+
}
471+
}) <<
440472
namedStage('Test ppc64le-manylinux-py36-debug', doPpcTests, { stageName, stageDir ->
441473
node(NODE_PPC) {
442474
buildSummary.stageWithSummary(stageName, stageDir) {
@@ -451,6 +483,19 @@ ansiColor('xterm') {
451483
}
452484
}
453485
}) <<
486+
namedStage('Test x86_64-macos-py39', doPy38Tests, { stageName, stageDir ->
487+
node(NODE_MACOS) {
488+
buildSummary.stageWithSummary(stageName, stageDir) {
489+
cleanWs()
490+
dumpInfo()
491+
dir(stageDir) {
492+
unstash 'datatable-sources'
493+
unstash 'x86_64-macos-wheels'
494+
test_macos('39')
495+
}
496+
}
497+
}
498+
}) <<
454499
namedStage('Test x86_64-macos-py38', doPy38Tests, { stageName, stageDir ->
455500
node(NODE_MACOS) {
456501
buildSummary.stageWithSummary(stageName, stageDir) {
@@ -724,6 +769,7 @@ def get_python_for_docker(String pyver, String image) {
724769
if (pyver == "36") return "/opt/python/cp36-cp36m/bin/python3.6"
725770
if (pyver == "37") return "/opt/python/cp37-cp37m/bin/python3.7"
726771
if (pyver == "38") return "/opt/python/cp38-cp38/bin/python3.8"
772+
if (pyver == "39") return "/opt/python/cp39-cp39/bin/python3.9"
727773
}
728774
throw new Exception("Unknown python ${pyver} for docker ${image}")
729775
}
@@ -758,6 +804,7 @@ def test_macos(String pyver) {
758804

759805

760806
def get_env_for_macos(String pyver) {
807+
if (pyver == "39") return "datatable-py39"
761808
if (pyver == "38") return "datatable-py38"
762809
if (pyver == "37") return "datatable-py37-with-pandas"
763810
if (pyver == "36") return "datatable-py36-with-pandas"

0 commit comments

Comments
 (0)