Add manylinux2010-x64 image

Since i686 image is not yet available in upstream project, this commit
only add the x64 version.
This commit is contained in:
Jean-Christophe Fillion-Robin
2019-05-22 03:21:10 -04:00
parent 1e0e89814b
commit 4793ea7c06
6 changed files with 124 additions and 4 deletions

View File

@ -326,6 +326,26 @@ jobs:
- save_cache:
key: manylinux1-x86-assets-{{ .Revision }}
paths: ~/docker/manylinux1-x86.tar
manylinux2010-x64:
<<: *build-settings
steps:
- restore_cache:
key: base-assets-{{ .Revision }}
- run:
name: manylinux2010-x64 build
no_output_timeout: 1.5h
command: |
docker load -i ~/docker/base.tar
make manylinux2010-x64
tagged=$(docker images -q -f 'since=dockcross/manylinux2010-x64:latest' --format '{{.Repository}}:{{.Tag}}' | grep manylinux2010-x64)
docker save -o ~/docker/manylinux2010-x64.tar dockcross/manylinux2010-x64:latest $tagged
- run:
name: manylinux2010-x64 test
command: |
make manylinux2010-x64.test
- save_cache:
key: manylinux2010-x64-assets-{{ .Revision }}
paths: ~/docker/manylinux2010-x64.tar
windows-static-x64:
<<: *build-settings
steps:
@ -641,6 +661,18 @@ jobs:
tagged=$(docker images -q -f 'since=dockcross/manylinux1-x86:latest' --format '{{.Repository}}:{{.Tag}}' | grep manylinux1-x86)
docker push $tagged
fi
- restore_cache:
key: manylinux2010-x64-assets-{{ .Revision }}
- deploy:
name: Deploy manylinux2010-x64
command: |
docker load -i ~/docker/manylinux2010-x64.tar
if [ "${CIRCLE_BRANCH}" == "master" ]; then
docker login -u $DOCKER_USER -p $DOCKER_PASS
docker push dockcross/manylinux2010-x64:latest
tagged=$(docker images -q -f 'since=dockcross/manylinux2010-x64:latest' --format '{{.Repository}}:{{.Tag}}' | grep manylinux2010-x64)
docker push $tagged
fi
- restore_cache:
key: windows-static-x64-assets-{{ .Revision }}
- deploy:
@ -766,6 +798,9 @@ workflows:
- manylinux1-x86:
requires:
- base
- manylinux2010-x64:
requires:
- base
- windows-static-x64:
requires:
- base
@ -803,6 +838,7 @@ workflows:
- linux-x86
- manylinux1-x64
- manylinux1-x86
- manylinux2010-x64
- windows-static-x64
- windows-static-x64-posix
- windows-static-x86