Skip to content

Commit 6241ca4

Browse files
committed
[SPARK-51782] Add build-ubuntu-arm test pipeline
### What changes were proposed in this pull request? This PR aims to add `build-ubuntu-arm` test pipeline. ### Why are the changes needed? `Linux` arm64 architecture becomes public preview as a new GitHub Action runner. We had better utilize this resource in our test infra. - https://docs.github.com/en/actions/using-github-hosted-runners/using-github-hosted-runners/about-github-hosted-runners#standard-github-hosted-runners-for-public-repositories Since `setup-swift` GitHub Action doesn't support `ubuntu-24.04-arm` yet, this PR runs the `Swift` docker image on `ubuntu-24.04-arm` GitHub Action runner. - swift-actions/setup-swift#705 `Swift` Docker images support both `AMD64` and `ARM64` architectures. - https://hub.docker.com/layers/library/swift/6.1.0/images/sha256-e0ce72c88f5f446d5e0c149d34c7b6d29a33d6410b228d55b575988f9e02e15a <img width="426" alt="Screenshot 2025-04-21 at 16 59 50" src="https://github.com/user-attachments/assets/b40146de-db98-4a90-9954-2a44439ee9db" /> ### How was this patch tested? After passing the CIs and check the following in the CI logs. ``` Linux 114e749feb29 6.8.0-1021-azure #25-Ubuntu SMP Wed Jan 15 20:23:05 UTC 2025 aarch64 aarch64 aarch64 GNU/Linux ``` ### Was this patch authored or co-authored using generative AI tooling? No. Closes #52 from dongjoon-hyun/SPARK-51782. Authored-by: Dongjoon Hyun <[email protected]> Signed-off-by: Dongjoon Hyun <[email protected]>
1 parent a6411b2 commit 6241ca4

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/build_and_test.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,16 @@ jobs:
5555
- name: Build
5656
run: swift build -v
5757

58+
# setup-swift doesn't support ARM linux yet.
59+
build-ubuntu-arm:
60+
runs-on: ubuntu-24.04-arm
61+
steps:
62+
- uses: actions/checkout@v4
63+
- name: Build
64+
run: |
65+
docker run swift:6.1 uname -a
66+
docker run -v $PWD:/orc -w /orc swift:6.1 swift build -v
67+
5868
integration-test-linux:
5969
runs-on: ubuntu-latest
6070
services:

0 commit comments

Comments
 (0)