Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 20 additions & 9 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ jobs:
build_wheels:
name: Build wheel for cp${{ matrix.python }}-${{ matrix.platform_id }}
runs-on: ${{ matrix.os }}
env:
# OpenSSL version control
OPENSSL_VERSION: "openssl-3.5.2"
# SWIG version control
SWIG_VERSION: "4.3.1"
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -190,7 +195,7 @@ jobs:
pushd c:/
git clone https://github.com/openssl/openssl.git
pushd openssl
git checkout openssl-3.3.0
git checkout ${{ env.OPENSSL_VERSION }}
perl Configure no-shared no-tests VC-WIN64A
nmake
mkdir lib\VC
Expand All @@ -205,7 +210,7 @@ jobs:
pushd c:\
git clone https://github.com/openssl/openssl.git
pushd openssl
git checkout openssl-3.3.1
git checkout ${{ env.OPENSSL_VERSION }}
perl Configure no-shared no-tests VC-WIN32
nmake
mkdir lib\VC
Expand All @@ -220,23 +225,29 @@ jobs:
pushd /tmp
git clone https://github.com/openssl/openssl.git
pushd openssl
git checkout openssl-3.3.1
git checkout ${{ env.OPENSSL_VERSION }}
export MACOSX_DEPLOYMENT_TARGET="${{ matrix.macosx_deployment_target }}"
./Configure --prefix=/usr/local/openssl no-tests darwin64-${{ matrix.arch }}-cc
make
sudo make install
popd
popd

- name: Install openssl ubuntu
if: matrix.os == 'ubuntu-latest'
run: |
sudo apt-get update
sudo apt-get install --yes libssl-dev

- name: Install cibuildwheel
run: python -m pip install cibuildwheel==3.0.1
run: python -m pip install cibuildwheel==3.1.4

- name: Build wheels
# to supply options, put them in 'env', like:
env:
CIBW_MANYLINUX_X86_64_IMAGE: manylinux2014
CIBW_MANYLINUX_I686_IMAGE: manylinux2014
CIBW_MANYLINUX_AARCH64_IMAGE: manylinux2014
# CIBW_MANYLINUX_X86_64_IMAGE: manylinux_2_28
# CIBW_MANYLINUX_I686_IMAGE: manylinux_2_28
# CIBW_MANYLINUX_AARCH64_IMAGE: manylinux_2_28
CIBW_BUILD: cp${{ matrix.python }}-${{ matrix.platform_id }}
CIBW_ARCHS_LINUX: auto aarch64

Expand All @@ -251,7 +262,7 @@ jobs:
/opt/python/cp311-cp311/bin/python -m pip install ninja
ln -s /opt/python/cp311-cp311/bin/ninja /usr/bin/ninja
if [[ ! -e $(command -v swig) ]]; then
curl -L https://sourceforge.net/projects/swig/files/swig/swig-4.3.1/swig-4.3.1.tar.gz/download --output /tmp/swig.tar.gz
curl -L https://sourceforge.net/projects/swig/files/swig/swig-${{ env.SWIG_VERSION }}/swig-${{ env.SWIG_VERSION }}.tar.gz/download --output /tmp/swig.tar.gz
mkdir /tmp/swig
tar -xvzf /tmp/swig.tar.gz -C /tmp/swig --strip-components 1 &> /dev/null
pushd /tmp/swig
Expand Down Expand Up @@ -307,7 +318,7 @@ jobs:
- uses: actions/upload-artifact@v4
with:
path: ./dist/*.tar.gz
name: artifact-${{ matrix.os }}-${{ matrix.platform_id }}-python-${{ matrix.python }}
name: artifact-sdist

merge:
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -63,4 +63,4 @@ elseif(LINUX)
endif()


add_subdirectory(gdcm_src)
add_subdirectory(gdcm_src)
2 changes: 1 addition & 1 deletion gdcm_src
Submodule gdcm_src updated 359 files
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ requires = [

[project]
name = "python-gdcm"
version = "3.0.26"
version = "3.2.1"
authors = [
{ name = "Thiago Franco de Moraes", email = "[email protected]" },
]
Expand Down
Loading