raulcd commented on code in PR #36487:
URL: https://github.com/apache/arrow/pull/36487#discussion_r1254227770


##########
dev/tasks/java-jars/github.yml:
##########
@@ -22,8 +22,15 @@
 jobs:
 
   build-cpp-ubuntu:
-    name: Build C++ libraries Ubuntu
-    runs-on: ubuntu-latest
+    {% set arch = '${{ matrix.platform.arch }}' %}
+    name: Build C++ libraries Ubuntu {{ arch }}
+    runs-on: {{ '${{ matrix.platform.runs_on }}' }}
+    strategy:
+      fail-fast: false
+      matrix:
+        platform:
+          - { runs_on: ["ubuntu-latest"], arch: "x86_64"}
+          - { runs_on: ["self-hosted", "Linux", "arm64"], arch: "aarch_64" }
     steps:
       {{ macros.github_checkout_arrow()|indent }}
       {{ macros.github_install_archery()|indent }}

Review Comment:
   I think we might have to define `ARCH` on the `env` to tag and use the 
underlying manylinux image for the correct architecture. Similar to what we do 
on the wheels here:
   
https://github.com/apache/arrow/blob/main/dev/tasks/python-wheels/github.linux.yml#L30-L36



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to