You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by ya...@apache.org on 2025/04/10 13:16:19 UTC
(spark) branch master updated: [SPARK-51761][INFRA] Add a daily test using the Ubuntu Arm Runner
This is an automated email from the ASF dual-hosted git repository.
yangjie01 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/spark.git
The following commit(s) were added to refs/heads/master by this push:
new a0bc04437540 [SPARK-51761][INFRA] Add a daily test using the Ubuntu Arm Runner
a0bc04437540 is described below
commit a0bc04437540525938c6beb1700629bec0e08ab9
Author: yangjie01 <ya...@baidu.com>
AuthorDate: Thu Apr 10 21:16:05 2025 +0800
[SPARK-51761][INFRA] Add a daily test using the Ubuntu Arm Runner
### What changes were proposed in this pull request?
Standard GitHub-hosted runners have added the combination of `Linux + Arm64`. This pull request adds a daily test for this scenario.
- https://docs.github.com/en/actions/using-github-hosted-runners/using-github-hosted-runners/about-github-hosted-runners
- https://github.com/actions/partner-runner-images/blob/main/images/arm-ubuntu-24-image.md

### Why are the changes needed?
Check the availability of Spark on `Linux + Arm64`.
### Does this PR introduce _any_ user-facing change?
No
### How was this patch tested?
Monitor Daily test after merged.
### Was this patch authored or co-authored using generative AI tooling?
No
Closes #50553 from LuciferYang/arm-daily-test.
Authored-by: yangjie01 <ya...@baidu.com>
Signed-off-by: yangjie01 <ya...@baidu.com>
---
.github/workflows/build_maven_java21_arm.yml | 37 ++++++++++++++++++++++++++++
.github/workflows/maven_test.yml | 7 +++++-
2 files changed, 43 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/build_maven_java21_arm.yml b/.github/workflows/build_maven_java21_arm.yml
new file mode 100644
index 000000000000..505bdd63189c
--- /dev/null
+++ b/.github/workflows/build_maven_java21_arm.yml
@@ -0,0 +1,37 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
+name: "Build / Maven (master, Scala 2.13, Hadoop 3, JDK 21, ARM)"
+
+on:
+ schedule:
+ - cron: '0 15 * * *'
+ workflow_dispatch:
+
+jobs:
+ run-build:
+ permissions:
+ packages: write
+ name: Run
+ uses: ./.github/workflows/maven_test.yml
+ if: github.repository == 'apache/spark'
+ with:
+ java: 21
+ os: ubuntu-24.04-arm
+ arch: arm64
diff --git a/.github/workflows/maven_test.yml b/.github/workflows/maven_test.yml
index 1df4cdc7a6b7..857a6d8ece06 100644
--- a/.github/workflows/maven_test.yml
+++ b/.github/workflows/maven_test.yml
@@ -41,6 +41,11 @@ on:
required: false
type: string
default: ubuntu-latest
+ arch:
+ description: The target architecture (x86, x64, arm64) of the Python or PyPy interpreter.
+ required: false
+ type: string
+ default: x64
envs:
description: Additional environment variables to set when running the tests. Should be in JSON format.
required: false
@@ -172,7 +177,7 @@ jobs:
if: contains(matrix.modules, 'resource-managers#yarn') || (contains(matrix.modules, 'sql#core')) || contains(matrix.modules, 'connect')
with:
python-version: '3.11'
- architecture: x64
+ architecture: ${{ inputs.arch }}
- name: Install Python packages (Python 3.11)
if: contains(matrix.modules, 'resource-managers#yarn') || (contains(matrix.modules, 'sql#core')) || contains(matrix.modules, 'connect')
run: |
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org