From 11cf7c51b16019f5bc589753e6e8e5869483db06 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Silvia=20Sell=C3=A1n?= Date: Sat, 1 Jun 2024 13:14:38 +0200 Subject: [PATCH] changing manylinux image --- .github/workflows/ciwheels.yml | 29 ++--------------------------- 1 file changed, 2 insertions(+), 27 deletions(-) diff --git a/.github/workflows/ciwheels.yml b/.github/workflows/ciwheels.yml index ff6a5e8c..b309cb51 100644 --- a/.github/workflows/ciwheels.yml +++ b/.github/workflows/ciwheels.yml @@ -32,11 +32,6 @@ jobs: build_wheels: - # Only run if the commit message contains '[ci build]' OR always run if it's a tag - # This will not respect the tag if it appears in a pull request commit message. Those builds always show up as 'synchronize' events, and there is no easy way to get the corresponding commit messages. We instead pull the PR title to check for tags. - # More info here: https://github.community/t/accessing-commit-message-in-pull-request-event/17158/13 - # if: "contains(toJSON(github.event.commits.*.message), '[ci build]') || contains(toJSON(github.event.pull_request.title), '[ci build]') || contains(github.ref, 'refs/tags')" - strategy: fail-fast: false matrix: @@ -45,7 +40,7 @@ jobs: # importantly, github times out after 6 hours _per job_. cpversion: ["cp36", "cp37", "cp38", "cp39", "cp310", "cp311", "cp312"] - os: [ { runs-on: ubuntu-latest, cibw-arch: manylinux_x86_64, cibw-platform: manylinux2014}, { runs-on: macos-latest, cibw-arch: macosx_x86_64}, { runs-on: macos-latest, cibw-arch: macosx_arm64}, { runs-on: windows-latest, cibw-arch: win_amd64} ] + os: [ { runs-on: ubuntu-latest, cibw-arch: manylinux_x86_64}, { runs-on: macos-latest, cibw-arch: macosx_x86_64}, { runs-on: macos-latest, cibw-arch: macosx_arm64}, { runs-on: windows-latest, cibw-arch: win_amd64} ] exclude: - os: { runs-on: macos-latest, cibw-arch: macosx_arm64} cpversion: "cp36" @@ -61,6 +56,7 @@ jobs: env: CIBW_BUILD_VERBOSITY: 3 CIBW_BEFORE_BUILD_LINUX : "yum install -y libXrandr libXrandr-devel libXinerama libXinerama-devel libXcursor libXcursor-devel libXi libXi-devel" + CIBW_MANYLINUX_*_IMAGE : "manylinux_2_24" CIBW_BUILD: "${{ matrix.cpversion }}-${{ matrix.os.cibw-arch }}" # CIBW_TEST_SKIP: "*-macosx_arm64" CIBW_ENVIRONMENT: "MAX_JOBS=2" @@ -89,24 +85,3 @@ jobs: path: | ./wheelhouse/*.whl ./wheelhouse/*.tar.gz - - # # Push the resulting binaries to pypi on a tag starting with 'v' - # upload_pypi: - # needs: [build_wheels] - # runs-on: ubuntu-latest - # # upload to PyPI on every tag starting with 'v' - # # if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/v') - # # alternatively, to publish when a GitHub Release is created, use the following rule: - # if: github.event_name == 'release' && github.event.action == 'published' - # steps: - # - uses: actions/download-artifact@v3 - # with: - # name: artifact - # path: dist - - # - uses: pypa/gh-action-pypi-publish@v1.5.0 - # with: - # user: __token__ - # password: ${{ secrets.pypi_password }} - # skip_existing: true - # # To test: repository_url: https://test.pypi.org/legacy/ \ No newline at end of file