File: build-all-manylinux-wheels.sh

package info (click to toggle)
python-pygit2 1.4.0%2Bdfsg1-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 2,328 kB
  • sloc: ansic: 11,016; python: 5,943; sh: 275; makefile: 19
file content (28 lines) | stat: -rwxr-xr-x 594 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#! /usr/bin/env bash
if [ -n "$DEBUG" ]
then
  set -x
fi

LIBGIT2_VERSION="$1"

set -euo pipefail

if [ -z "$LIBGIT2_VERSION" ]
then
    >&2 echo "Please pass libgit2 version as first argument of this script ($0)"
    exit 1
fi

manylinux_image="quay.io/pypa/manylinux2010_x86_64"
manylinux_image="pyca/cryptography-manylinux2010:x86_64"

echo Waiting for docker pull to complete downloading container...
docker pull "${manylinux_image}" &
wait

echo Building wheel
docker run --rm -v `pwd`:/io "${manylinux_image}" /io/travis/build-manylinux-wheels.sh pygit2 "$LIBGIT2_VERSION" &
wait

set +u