diff options
author | 2021-08-05 02:00:11 -0600 | |
---|---|---|
committer | 2021-08-05 02:18:10 -0600 | |
commit | 72be47ffe26280aa5e25778406a2e79ef93b8cf6 (patch) | |
tree | 7f56f61ee86c7ca5951cc36fcb718dc3403fd9d5 /.github | |
parent | update news (diff) | |
download | pkgcheck-72be47ffe26280aa5e25778406a2e79ef93b8cf6.tar.gz pkgcheck-72be47ffe26280aa5e25778406a2e79ef93b8cf6.tar.bz2 pkgcheck-72be47ffe26280aa5e25778406a2e79ef93b8cf6.zip |
github: various manylinux docker mangling updates
- move git install to mangling script
- update bash version
- bump cibuildwheel version
Diffstat (limited to '.github')
-rwxr-xr-x | .github/workflows/bash.sh | 6 | ||||
-rwxr-xr-x | .github/workflows/manylinux.sh | 11 | ||||
-rw-r--r-- | .github/workflows/release.yml | 4 |
3 files changed, 13 insertions, 8 deletions
diff --git a/.github/workflows/bash.sh b/.github/workflows/bash.sh deleted file mode 100755 index 0486f58f..00000000 --- a/.github/workflows/bash.sh +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh -# Download static build of recent bash release. - -URL="https://github.com/robxu9/bash-static/releases/download/5.1.004-1.2.2/bash-linux-x86_64" -curl -L "$URL" > /usr/local/bin/bash -chmod +x /usr/local/bin/bash diff --git a/.github/workflows/manylinux.sh b/.github/workflows/manylinux.sh new file mode 100755 index 00000000..04aee7a4 --- /dev/null +++ b/.github/workflows/manylinux.sh @@ -0,0 +1,11 @@ +#!/bin/sh +# Mangle the manylinux docker image to successfully build and test wheels. + +# install git +apt-get update +apt-get install -y git + +# download static build of recent bash release +URL="https://github.com/robxu9/bash-static/releases/download/5.1.008-1.2.2/bash-linux-x86_64" +curl -L "$URL" > /usr/local/bin/bash +chmod +x /usr/local/bin/bash diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e9f51c4f..456531e1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -39,14 +39,14 @@ jobs: python setup.py build_py -i - name: Build wheels - uses: joerick/cibuildwheel@v1.10.0 + uses: joerick/cibuildwheel@v2.0.1 with: output-dir: dist env: CIBW_BUILD: cp38-* cp39-* cp310-* CIBW_ARCHS_LINUX: x86_64 CIBW_MANYLINUX_X86_64_IMAGE: manylinux_2_24 - CIBW_BEFORE_BUILD: apt-get update && apt-get install -y git && pip install -r {project}/requirements/dist.txt && {project}/.github/workflows/bash.sh + CIBW_BEFORE_BUILD: pip install -r {project}/requirements/dist.txt && {project}/.github/workflows/manylinux.sh CIBW_BEFORE_TEST: pip install -r {project}/requirements/test.txt CIBW_TEST_COMMAND: py.test {project}/tests |