summaryrefslogtreecommitdiff
path: root/.manylinux.sh
diff options
context:
space:
mode:
authorMichael Howitz <mh@gocept.com>2021-08-30 10:13:24 +0200
committerMichael Howitz <mh@gocept.com>2021-08-30 10:13:24 +0200
commita30909b918595d41936b3bf3d549be2becd99f1d (patch)
treeefe93f9eb24005c42cdcc2f5195e0c213011926e /.manylinux.sh
parent347d187367a4d96f4b9ba70c4a5f9aa4efa6197c (diff)
downloadzope-security-a30909b918595d41936b3bf3d549be2becd99f1d.tar.gz
Configuring for c-code
Diffstat (limited to '.manylinux.sh')
-rwxr-xr-x.manylinux.sh13
1 files changed, 12 insertions, 1 deletions
diff --git a/.manylinux.sh b/.manylinux.sh
index 2fed778..ea4ef41 100755
--- a/.manylinux.sh
+++ b/.manylinux.sh
@@ -1,5 +1,16 @@
#!/usr/bin/env bash
+# Generated from:
+# https://github.com/zopefoundation/meta/tree/master/config/c-code
set -e -x
-docker run --rm -v "$(pwd)":/io $DOCKER_IMAGE $PRE_CMD /io/.manylinux-install.sh
+# Mount the current directory as /io
+# Mount the pip cache directory as /cache
+# `pip cache` requires pip 20.1
+echo Setting up caching
+python --version
+python -mpip --version
+LCACHE="$(dirname `python -mpip cache dir`)"
+echo Sharing pip cache at $LCACHE $(ls -ld $LCACHE)
+
+docker run --rm -e GITHUB_ACTIONS -v "$(pwd)":/io -v "$LCACHE:/cache" $DOCKER_IMAGE $PRE_CMD /io/.manylinux-install.sh