Skip to content

Commit

Permalink
Add more manylinux distros to workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mxamin committed Apr 5, 2024
1 parent af5138c commit 15d3bdf
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
9 changes: 8 additions & 1 deletion .github/workflows/manylinux.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,20 @@
name: manylinux
on: [push, pull_request]
jobs:
pep513:
manylinux:
runs-on: ubuntu-latest
env:
# python-xmlsec is not compatible with xmlsec1 v1.3.3.
# So we need to use the rc until the next release.
# TODO: Remove it when xmlsec1 v1.3.4 is fully released.
PYXMLSEC_XMLSEC1_VERSION: "1.3.4-rc1"
strategy:
matrix:
python-abi: [cp36-cp36m, cp37-cp37m, cp38-cp38, cp39-cp39, cp310-cp310, cp311-cp311]
image:
- manylinux2014_x86_64
- manylinux_2_28_x86_64
- musllinux_1_1_x86_64
container: quay.io/pypa/${{ matrix.image }}
steps:
- uses: actions/checkout@v1
Expand Down
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ def prepare_static_build_win(self):
ext.include_dirs = [str(p.absolute()) for p in includes]

def prepare_static_build_linux(self):
self.openssl_version = os.environ.get('PYXMLSEC_OPENSSL_VERSION', '1.1.1q')
self.openssl_version = os.environ.get('PYXMLSEC_OPENSSL_VERSION', '1.1.1t')
self.libiconv_version = os.environ.get('PYXMLSEC_LIBICONV_VERSION')
self.libxml2_version = os.environ.get('PYXMLSEC_LIBXML2_VERSION')
self.libxslt_version = os.environ.get('PYXMLSEC_LIBXSLT_VERSION')
Expand Down Expand Up @@ -391,7 +391,6 @@ def prepare_static_build_linux(self):
prefix_arg,
'--disable-dependency-tracking',
'--disable-shared',
'--enable-rebuild-docs=no',
'--without-lzma',
'--without-python',
'--with-iconv={}'.format(self.prefix_dir),
Expand Down

0 comments on commit 15d3bdf

Please sign in to comment.