From a8add1afe299dabb17cd328880dee08d37458e2a Mon Sep 17 00:00:00 2001 From: Jonas Vautherin Date: Tue, 17 Dec 2019 18:30:42 +0100 Subject: [PATCH] add manylinux2014-x64 to circleci --- .circleci/config.yml | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 844dbee..f61146e 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -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