summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorJohn Jones <john@exthilion.org>2021-09-18 18:13:45 -0700
committerGitHub <noreply@github.com>2021-09-19 09:13:45 +0800
commit1a0ba3e79d1f52cf1967e4ac177cdae788d9829a (patch)
treecec03e92764d9fd7c0b93443d6943b75c57a50a5 /.github
parent0af8579975d1449157900679080888199e0fad5e (diff)
downloadcryptography-1a0ba3e79d1f52cf1967e4ac177cdae788d9829a.tar.gz
preparations for musllinux (#6236)
* preparations for musllinux * wheel-builder | skip PyPy on musllinux builds
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/wheel-builder.yml11
1 files changed, 9 insertions, 2 deletions
diff --git a/.github/workflows/wheel-builder.yml b/.github/workflows/wheel-builder.yml
index 1adb7cf24..b4936b42a 100644
--- a/.github/workflows/wheel-builder.yml
+++ b/.github/workflows/wheel-builder.yml
@@ -21,6 +21,13 @@ jobs:
- { NAME: "manylinux2010_x86_64", CONTAINER: "cryptography-manylinux2010:x86_64" }
- { NAME: "manylinux2014_x86_64", CONTAINER: "cryptography-manylinux2014:x86_64" }
- { name: "manylinux_2_24_x86_64", CONTAINER: "cryptography-manylinux_2_24:x86_64"}
+ - { name: "musllinux_1_1_x86_64", CONTAINER: "cryptography-musllinux_1_1:x86_64"}
+ exclude:
+ # There are no readily available musllinux PyPy distributions
+ - PYTHON: { VERSION: "pypy3.6", PATH: "/opt/pypy3.6/bin/pypy" }
+ MANYLINUX: { name: "musllinux_1_1_x86_64", CONTAINER: "cryptography-musllinux_1_1:x86_64" }
+ - PYTHON: { VERSION: "pypy3.7", PATH: "/opt/pypy3.7/bin/pypy" }
+ MANYLINUX: { name: "musllinux_1_1_x86_64", CONTAINER: "cryptography-musllinux_1_1:x86_64"}
name: "${{ matrix.PYTHON.VERSION }} for ${{ matrix.MANYLINUX.NAME }}"
steps:
- run: ${{ matrix.PYTHON.PATH }} -m venv .venv
@@ -41,8 +48,8 @@ jobs:
- run: auditwheel repair --plat ${{ matrix.MANYLINUX.NAME }} tmpwheelhouse/cryptograph*.whl -w wheelhouse/
- run: unzip wheelhouse/*.whl -d execstack.check
- run: |
- results=$(execstack execstack.check/cryptography/hazmat/bindings/*.so)
- count=$(echo "$results" | grep -c '^X' || true)
+ results=$(readelf -lW execstack.check/cryptography/hazmat/bindings/*.so)
+ count=$(echo "$results" | grep -c 'GNU_STACK.*[R ][W ]E' || true)
if [ "$count" -ne 0 ]; then
exit 1
else