From d027811fc612226f28ad1f4725e2c697271bcbac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20Ma=C5=9Blanka?= <piotr.maslanka@ericsson.com> Date: Sat, 3 Aug 2024 19:51:44 +0200 Subject: [PATCH] fix --- .gitlab-ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ee351e2..d3dec22 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -68,10 +68,11 @@ test_python311: - branches stage: build script: - - pip install --break-system-packages --upgrade Cython setuptools pip repairwheel + - pip install --break-system-packages --upgrade Cython setuptools pip repairwheel doctor-wheel - pip install --break-system-packages -r requirements.txt - python setup.py bdist_wheel - repairwheel dist/*.whl -o . + - doctor-wheel *.whl after_script: - pip install twine - TWINE_PASSWORD=${CI_JOB_TOKEN} TWINE_USERNAME=gitlab-ci-token python3 -m twine upload --repository-url ${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/pypi dist/* @@ -85,6 +86,7 @@ upload_python311_armv7l: - mkdir dist2 - mv *.whl dist2 - repairwheel dist2/*.whl -o . + - doctor-wheel *.whl - TWINE_PASSWORD=${CI_JOB_TOKEN} TWINE_USERNAME=gitlab-ci-token python3 -m twine upload --repository-url ${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/pypi dist/* only: - tags -- GitLab