You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datasketches.apache.org by jm...@apache.org on 2023/01/19 21:51:47 UTC

[datasketches-cpp] branch linux-arm64-wheels updated: Bump versions, attempt to simplify

This is an automated email from the ASF dual-hosted git repository.

jmalkin pushed a commit to branch linux-arm64-wheels
in repository https://gitbox.apache.org/repos/asf/datasketches-cpp.git


The following commit(s) were added to refs/heads/linux-arm64-wheels by this push:
     new 41875cd  Bump versions, attempt to simplify
41875cd is described below

commit 41875cdc97d417370e790c85cd0df8939b246bc0
Author: Jon Malkin <78...@users.noreply.github.com>
AuthorDate: Thu Jan 19 13:51:42 2023 -0800

    Bump versions, attempt to simplify
---
 .github/workflows/build_wheels.yml | 39 +++++++++++++++++++++++---------------
 1 file changed, 24 insertions(+), 15 deletions(-)

diff --git a/.github/workflows/build_wheels.yml b/.github/workflows/build_wheels.yml
index b5da5c9..65d1c6f 100644
--- a/.github/workflows/build_wheels.yml
+++ b/.github/workflows/build_wheels.yml
@@ -29,7 +29,7 @@ jobs:
       - name: Build sdist
         run: python -m build --sdist --outdir dist
 
-      - uses: actions/upload-artifact@v2
+      - uses: actions/upload-artifact@v3
         with:
           path: dist/*.tar.gz
 
@@ -82,28 +82,37 @@ jobs:
 
       - name: Set up QEMU for linux/arm64 builds
         if: runner.os == 'Linux'
-        uses: docker/setup-qemu-action@v1
+        uses: docker/setup-qemu-action@v2
         with:
           platforms: arm64
 
-      - name: Install Python dependencies
-        run: python -m pip install cibuildwheel==2.5.0
+      #- name: Install Python dependencies
+      #  run: python -m pip install cibuildwheel==2.12.0
         
-      - name: Configure cibuildwheel
-        shell: bash
-        run: |
-          CMAKE_OSX_ARCHITECTURES=${{ matrix.config.cibw-arch == 'macosx_x86_64' && 'x86_64' || matrix.config.cibw-arch == 'macosx_arm64' && 'arm64' || matrix.config.cibw-arch == 'macosx_universal2' && '"arm64;x86_64"' || '' }}
-          echo "CIBW_ARCHS_MACOS=x86_64 arm64" >> $GITHUB_ENV
-          echo "CIBW_BUILD=*-${{ matrix.config.cibw-arch }}" >> $GITHUB_ENV
-          echo "CIBW_ENVIRONMENT_MACOS=CMAKE_OSX_ARCHITECTURES=\"$CMAKE_OSX_ARCHITECTURES\"" >> $GITHUB_ENV
+      #- name: Configure cibuildwheel
+      #  shell: bash
+      #  run: |
+      #    CMAKE_OSX_ARCHITECTURES=${{ matrix.config.cibw-arch == 'macosx_x86_64' && 'x86_64' || matrix.config.cibw-arch == 'macosx_arm64' && 'arm64' || matrix.config.cibw-arch == 'macosx_universal2' && '"arm64;x86_64"' || '' }}
+      #    echo "CIBW_ARCHS_MACOS=x86_64 arm64" >> $GITHUB_ENV
+      #    echo "CIBW_BUILD=*-${{ matrix.config.cibw-arch }}" >> $GITHUB_ENV
+      #    echo "CIBW_ENVIRONMENT_MACOS=CMAKE_OSX_ARCHITECTURES=\"$CMAKE_OSX_ARCHITECTURES\"" >> $GITHUB_ENV
         
+      #- name: Build wheels
+      #  run: python -m cibuildwheel --output-dir dist
+      #  env:
+      #    CIBW_BEFORE_BUILD_LINUX: "yum remove -y cmake"
+      #    CIBW_BEFORE_BUILD: "python -m pip install cmake>=3.18"
+      #    CIBW_SKIP: "*-win32 pp*-macosx*"
+
       - name: Build wheels
-        run: python -m cibuildwheel --output-dir dist
+        uses: pypa/cibuildwheel@v2.12.0
         env:
+          CIBW_ARCHS_MACOS: x86_64 arm64
+          CIBW_BUILD: *-${{ matrix.config.cibw-arch }}
+          CIBW_SKIP: "*-win32 pp*-macosx*"
           CIBW_BEFORE_BUILD_LINUX: "yum remove -y cmake"
           CIBW_BEFORE_BUILD: "python -m pip install cmake>=3.18"
-          CIBW_SKIP: "*-win32 pp*-macosx*"
-
-      - uses: actions/upload-artifact@v2
+          
+      - uses: actions/upload-artifact@v3
         with:
           path: ./dist/*.whl


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datasketches.apache.org
For additional commands, e-mail: commits-help@datasketches.apache.org