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
1
16
version : 2.1
2
17
3
18
orbs :
31
46
name : Build
32
47
- run :
33
48
command : |
49
+ set -x
34
50
ls -lhtr ssh2/
35
51
pwd
36
52
pytest tests
@@ -71,10 +87,10 @@ jobs:
71
87
command : |
72
88
twine upload --skip-existing -u $PYPI_USER -p $PYPI_PASSWORD wheels/*
73
89
74
- manylinux :
90
+ manylinux-x86_64 :
75
91
machine :
76
92
image : ubuntu-1604:201903-01
77
- steps :
93
+ steps : &manylinux-steps
78
94
- checkout
79
95
- python/load-cache :
80
96
key : manylinuxdepsv6-{{ .Branch }}.{{ arch }}
89
105
- run :
90
106
name : Deps
91
107
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
93
110
pip install -U pip
94
111
pip install twine
95
112
which twine
@@ -102,7 +119,7 @@ jobs:
102
119
if [[ -z "${CIRCLE_PULL_REQUEST}" ]]; then
103
120
echo "$DOCKER_PASSWORD" | docker login -u="$DOCKER_USERNAME" --password-stdin;
104
121
fi
105
- ./ci/travis/ build-manylinux.sh
122
+ ./ci/build-manylinux.sh
106
123
- run :
107
124
name : sdist
108
125
command : python setup.py sdist
@@ -115,39 +132,7 @@ jobs:
115
132
machine :
116
133
image : ubuntu-2004:202101-01
117
134
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
151
136
152
137
workflows :
153
138
version : 2.1
@@ -160,27 +145,26 @@ workflows:
160
145
- " 3.6"
161
146
- " 3.7"
162
147
- " 3.8"
148
+ - " 3.9"
149
+ - " 3.10"
163
150
filters :
164
151
tags :
165
152
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
174
154
context : Docker
175
155
filters :
176
156
tags :
177
157
only : /.*/
178
158
branches :
179
159
ignore : /.*/
160
+ - manylinux2014-aarch64 : *manylinux-wf
180
161
- osx :
181
162
matrix :
182
163
parameters :
183
164
xcode_ver :
165
+ - " 13.1.0"
166
+ - " 13.0.0"
167
+ - " 12.5.1"
184
168
- " 11.6.0"
185
169
- " 11.1.0"
186
170
filters :
0 commit comments