Added manylinux2014-x86

This commit is contained in:
Esun Kim
2020-07-04 16:44:27 -07:00
parent 0c663c2f63
commit de84690710
7 changed files with 131 additions and 7 deletions

View File

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