You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by jr...@apache.org on 2023/12/19 20:09:26 UTC

(beam) branch master updated: Build and publish multi-arch wheels separately from main wheels (#29821)

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

jrmccluskey pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/beam.git


The following commit(s) were added to refs/heads/master by this push:
     new 1a7174c68bd Build and publish multi-arch wheels separately from main wheels (#29821)
1a7174c68bd is described below

commit 1a7174c68bdeb7819dd55031aaa8e4757f35dcaf
Author: Danny McCormick <da...@google.com>
AuthorDate: Tue Dec 19 15:09:19 2023 -0500

    Build and publish multi-arch wheels separately from main wheels (#29821)
    
    * Build and publish arch wheels separately from main wheels
    
    * Better postfix
    
    * Better postfix
---
 .github/workflows/build_wheels.yml | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/.github/workflows/build_wheels.yml b/.github/workflows/build_wheels.yml
index 85ed7c0686c..82924c3abcb 100644
--- a/.github/workflows/build_wheels.yml
+++ b/.github/workflows/build_wheels.yml
@@ -280,7 +280,7 @@ jobs:
     - name: Upload wheels as artifacts
       uses: actions/upload-artifact@v4
       with:
-        name: wheelhouse-${{ matrix.os_python.os }}
+        name: wheelhouse-${{ matrix.os_python.os }}${{ (matrix.arch == 'aarch64' && '-aarch64') || '' }}
         path: apache-beam-source/wheelhouse/
     - name: Build RC wheels
       if: ${{ needs.build_source.outputs.is_rc == 1 }}
@@ -305,7 +305,7 @@ jobs:
       if: ${{ needs.build_source.outputs.is_rc == 1 }}
       uses: actions/upload-artifact@v4
       with:
-        name: wheelhouse-rc${{ needs.build_source.outputs.rc_num }}-${{ matrix.os_python.os }}
+        name: wheelhouse-rc${{ needs.build_source.outputs.rc_num }}-${{ matrix.os_python.os }}${{ (matrix.arch == 'aarch64' && '-aarch64') || '' }}
         path: apache-beam-source-rc/wheelhouse/
 
   upload_wheels_to_gcs:
@@ -318,11 +318,15 @@ jobs:
     strategy:
       matrix:
         os : [ubuntu-latest, macos-latest, windows-latest]
+        arch: [auto]
+        include:
+          - os: "ubuntu-latest"
+            arch: aarch64
     steps:
     - name: Download wheels from artifacts
       uses: actions/download-artifact@v4
       with:
-        name: wheelhouse-${{ matrix.os }}
+        name: wheelhouse-${{ matrix.os }}${{ (matrix.arch == 'aarch64' && '-aarch64') || '' }}
         path: wheelhouse/
     - name: Authenticate on GCP
       uses: google-github-actions/setup-gcloud@v0