2828 -
2929 name : Install CMake 3.6.2
3030 run : |
31- set -e
32- . /etc/profile
3331 apt-get update
3432 apt-get install -y libidn11
3533 pkgvers=3.6.2
@@ -45,17 +43,13 @@ jobs:
4543 -
4644 name : Install GCC toolchain
4745 run : |
48- set -e
49- . /etc/profile
5046 apt-get update
5147 apt-get install -y gcc g++ make
5248 -
5349 name : Build GEOS from source
5450 run : |
55- set -e
56- . /etc/profile
5751 cd ${{ env.PKGDIR }}
58- python -c "import utils; utils.GeosLibrary('3.6.5 ').build('extern', njobs=16)"
52+ python -c "import utils; utils.GeosLibrary('3.5.1 ').build('extern', njobs=16)"
5953 -
6054 name : Upload GEOS artifacts
6155 uses : actions/upload-artifact@v1
@@ -98,22 +92,16 @@ jobs:
9892 -
9993 name : Install GCC toolchain
10094 run : |
101- set -e
102- . /etc/profile
10395 apt-get update
10496 apt-get install -y gcc g++ make
10597 -
10698 name : Install unzip
10799 run : |
108- set -e
109- . /etc/profile
110100 apt-get update
111101 apt-get install -y unzip
112102 -
113103 name : Generate NumPy headers
114104 run : |
115- set -e
116- . /etc/profile
117105 case "${{ matrix.python-version }}" in
118106 2.[67]|3.[01234]) pkgvers=1.11.3;;
119107 *) pkgvers=1.16.6;;
@@ -132,8 +120,6 @@ jobs:
132120 -
133121 name : Build wheel
134122 run : |
135- set -e
136- . /etc/profile
137123 cd ${{ env.PKGDIR }}
138124 export GEOS_DIR=extern
139125 export NUMPY_INCLUDE_PATH=extern/include
@@ -187,22 +173,16 @@ jobs:
187173 -
188174 name : Install GCC toolchain
189175 run : |
190- set -e
191- . /etc/profile
192176 apt-get update
193177 apt-get install -y gcc g++ make
194178 -
195179 name : Install unzip
196180 run : |
197- set -e
198- . /etc/profile
199181 apt-get update
200182 apt-get install -y unzip
201183 -
202184 name : Install patchelf from source
203185 run : |
204- set -e
205- . /etc/profile
206186 pkgvers=0.9
207187 pkgname=patchelf
208188 pkgcode=${pkgname}-${pkgvers}
@@ -220,14 +200,10 @@ jobs:
220200 -
221201 name : Install auditwheel
222202 run : |
223- set -e
224- . /etc/profile
225203 pip install "auditwheel < 4.0"
226204 -
227205 name : Repair wheel
228206 run : |
229- set -e
230- . /etc/profile
231207 cd ${{ env.PKGDIR }}
232208 export LD_LIBRARY_PATH="$(readlink -f extern/lib)"
233209 auditwheel repair -w dist dist/*.whl
@@ -260,7 +236,7 @@ jobs:
260236 needs : repair
261237 runs-on : ubuntu-latest
262238 container : " pylegacy/${{ matrix.arch }}-python:${{ matrix.python-version }}-debian-5"
263- environment : Test PyPI
239+ environment : PyPI
264240 steps :
265241 -
266242 name : Checkout
@@ -274,8 +250,6 @@ jobs:
274250 -
275251 name : Install requirements
276252 run : |
277- set -e
278- . /etc/profile
279253 pip install --prefer-binary twine
280254 -
281255 name : Upload distributables
@@ -284,8 +258,6 @@ jobs:
284258 TWINE_PASSWORD : " ${{ secrets.PYPI_TOKEN }}"
285259 TWINE_REPOSITORY_URL : " ${{ secrets.PYPI_REPOSITORY_URL }}"
286260 run : |
287- set -e
288- . /etc/profile
289261 python -m twine check \
290262 ${{ env.PKGDIR }}/dist/*.zip \
291263 ${{ env.PKGDIR }}/dist/*-manylinux1*.whl
0 commit comments