Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update publish-pypi.yml #107

Merged
merged 3 commits into from
Jan 10, 2024
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
11 changes: 11 additions & 0 deletions .github/workflows/publish-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ jobs:
python: 311
platform_id: manylinux_i686
manylinux_image: manylinux2014
- os: ubuntu-latest
python: 312
platform_id: manylinux_i686
manylinux_image: manylinux2014

# Linux 64 bit manylinux2014
- os: ubuntu-latest
Expand All @@ -45,6 +49,10 @@ jobs:
python: 311
platform_id: manylinux_x86_64
manylinux_image: manylinux2014
- os: ubuntu-latest
python: 312
platform_id: manylinux_x86_64
manylinux_image: manylinux2014

# MacOS x86_64
- os: macos-latest
Expand All @@ -59,6 +67,9 @@ jobs:
- os: macos-latest
python: 311
platform_id: macosx_x86_64
- os: macos-latest
python: 312
platform_id: macosx_x86_64

steps:
- name: Checkout CPT
Expand Down
13 changes: 13 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,3 +70,16 @@ jobs:
./CI/github/build_wheels.sh
source CI/upload_wheels.sh
upload_wheels
- python: "3.8"
os: linux
arch: arm64
virt: vm
env:
- CIBW_BUILD: cp312-manylinux_aarch64
install: python3 -m pip install cibuildwheel==2.16.2
script: |
cibuildwheel --output-dir wheelhouse
./CI/github/build_wheels.sh
source CI/upload_wheels.sh
upload_wheels
2 changes: 1 addition & 1 deletion CI/github/build_wheels.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ if [[ "$RUNNER_OS" == "macOS" ]]; then
export LDFLAGS="$LDFLAGS -Wl,-rpath,$brew_prefix/opt/libomp/lib -L$brew_prefix/opt/libomp/lib -lomp"
fi

python -m pip install cibuildwheel==2.11.1
python -m pip install cibuildwheel==2.16.2
python -m cibuildwheel --output-dir wheelhouse
13 changes: 11 additions & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,22 @@ environment:
PYTHON_ARCH: "64"
PYTHON_HOME: "C:\\Python311-x64"
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022
- PYTHON_VERSION: "3.12"
PYTHON_ARCH: "32"
PYTHON_HOME: "C:\\Python312"
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022
- PYTHON_VERSION: "3.12"
PYTHON_ARCH: "64"
PYTHON_HOME: "C:\\Python312-x64"
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022

install:
# Ensure we use the right python version
- "SET PATH=%PYTHON_HOME%;%PYTHON_HOME%\\Scripts;%PATH%"
- "SET TOXPYTHON=%PYTHON_HOME%\\python.exe"
- "python --version"
- "python -c \"import struct; print(struct.calcsize('P') * 8)\""
- "python -m pip install --upgrade pip cython pytest tox ppu"
- "python -m pip install --upgrade pip cython pytest tox ppu setuptools"
- "pip --version"

build_script:
Expand All @@ -68,7 +77,7 @@ deploy_script:
# TWINE_USERNAME / TWINE_PASSWORD / TWINE_REPOSITORY_URL
# must be set in AppVeyor settings.
- if "%APPVEYOR_REPO_TAG%" == "true" (
pip install --upgrade twine "wheel==0.38.4" &&
pip install --upgrade twine "wheel==0.42.0" &&
%CMD_IN_ENV% python setup.py bdist_wheel &&
twine upload --skip-existing dist\\*.whl --repository-url %TWINE_REPOSITORY_URL% -u %TWINE_USERNAME% -p %TWINE_PASSWORD%
)
Loading