1+ # This file is part of ssh2-python.
2+ # Copyright (C) 2017-2021 Panos Kittenis and contributors.
3+ #
4+ # This library is free software; you can redistribute it and/or
5+ # modify it under the terms of the GNU Lesser General Public
6+ # License as published by the Free Software Foundation, version 2.1.
7+ #
8+ # This library is distributed in the hope that it will be useful,
9+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
10+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11+ # Lesser General Public License for more details.
12+ #
13+ # You should have received a copy of the GNU Lesser General Public
14+ # License along with this library; if not, write to the Free Software
15+ # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
116version : 2.1
217
318orbs :
3146 name : Build
3247 - run :
3348 command : |
49+ set -x
3450 ls -lhtr ssh2/
3551 pwd
3652 pytest tests
@@ -71,10 +87,10 @@ jobs:
7187 command : |
7288 twine upload --skip-existing -u $PYPI_USER -p $PYPI_PASSWORD wheels/*
7389
74- manylinux :
90+ manylinux-x86_64 :
7591 machine :
7692 image : ubuntu-1604:201903-01
77- steps :
93+ steps : &manylinux-steps
7894 - checkout
7995 - python/load-cache :
8096 key : manylinuxdepsv6-{{ .Branch }}.{{ arch }}
89105 - run :
90106 name : Deps
91107 command : |
92- sudo apt-get install python-pip
108+ sudo apt-get install python3-pip
109+ pyenv global 3.7.0 || pyenv global 3.9.1
93110 pip install -U pip
94111 pip install twine
95112 which twine
@@ -102,7 +119,7 @@ jobs:
102119 if [[ -z "${CIRCLE_PULL_REQUEST}" ]]; then
103120 echo "$DOCKER_PASSWORD" | docker login -u="$DOCKER_USERNAME" --password-stdin;
104121 fi
105- ./ci/travis/ build-manylinux.sh
122+ ./ci/build-manylinux.sh
106123 - run :
107124 name : sdist
108125 command : python setup.py sdist
@@ -115,39 +132,7 @@ jobs:
115132 machine :
116133 image : ubuntu-2004:202101-01
117134 resource_class : arm.medium
118- steps :
119- - checkout
120- - python/load-cache :
121- key : manylinuxdepsv6-{{ .Branch }}.{{ arch }}
122- dependency-file : requirements_dev.txt
123- - run :
124- name : Git LFS
125- command : |
126- curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | sudo bash
127- sudo apt-get install git-lfs
128- git lfs install
129- git lfs pull
130- - run :
131- name : Deps
132- command : |
133- sudo apt-get install python3-pip
134- pip3 install -U pip
135- pip3 install twine
136- which twine
137- - python/save-cache :
138- key : manylinuxdepsv6-{{ .Branch }}.{{ arch }}
139- dependency-file : requirements_dev.txt
140- - run :
141- name : Build Wheels
142- command : |
143- if [[ -z "${CIRCLE_PULL_REQUEST}" ]]; then
144- docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD" ;
145- fi
146- ./ci/travis/build-manylinux.sh
147- - run :
148- name : Upload Wheels
149- command : |
150- twine upload --skip-existing -u $PYPI_USER -p $PYPI_PASSWORD dist/* wheelhouse/*
135+ steps : *manylinux-steps
151136
152137workflows :
153138 version : 2.1
@@ -160,27 +145,26 @@ workflows:
160145 - " 3.6"
161146 - " 3.7"
162147 - " 3.8"
148+ - " 3.9"
149+ - " 3.10"
163150 filters :
164151 tags :
165152 ignore : /.*/
166- - manylinux :
167- context : Docker
168- filters :
169- tags :
170- only : /.*/
171- branches :
172- ignore : /.*/
173- - manylinux2014-aarch64 :
153+ - manylinux-x86_64 : &manylinux-wf
174154 context : Docker
175155 filters :
176156 tags :
177157 only : /.*/
178158 branches :
179159 ignore : /.*/
160+ - manylinux2014-aarch64 : *manylinux-wf
180161 - osx :
181162 matrix :
182163 parameters :
183164 xcode_ver :
165+ - " 13.1.0"
166+ - " 13.0.0"
167+ - " 12.5.1"
184168 - " 11.6.0"
185169 - " 11.1.0"
186170 filters :
0 commit comments