add manylinux2014-x64 to circleci

This commit is contained in:
Jonas Vautherin 2019-12-17 18:30:42 +01:00
parent 42b7dd5602
commit a8add1afe2

View File

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