Skip to content

Support ubuntu-24.04-arm #705

@dongjoon-hyun

Description

@dongjoon-hyun

Is your feature request related to a problem? Please describe.

setup-swift fails on ubuntu-24.04-arm.

/usr/bin/tar xz --warning=no-unknown-keyword --overwrite -C /home/runner/work/_temp/5dc7d364-eb53-4b93-8b99-eb1b8717a369 -f /home/runner/work/_temp/a5f42563-6138-4925-a345-2e002522db7c
/opt/hostedtoolcache/swift-Ubuntu/6.0.2/arm64/usr/bin/swift --version
/opt/hostedtoolcache/swift-Ubuntu/6.0.2/arm64/usr/bin/swift: 1: �ELF����: not found
/opt/hostedtoolcache/swift-Ubuntu/6.0.2/arm64/usr/bin/swift: 2: ��������������: not found
/opt/hostedtoolcache/swift-Ubuntu/6.0.2/arm64/usr/bin/swift: 2: @?: not found
/opt/hostedtoolcache/swift-Ubuntu/6.0.2/arm64/usr/bin/swift: 2: �G: not found
/opt/hostedtoolcache/swift-Ubuntu/6.0.2/arm64/usr/bin/swift: 4: Syntax error: newline unexpected
Error: Unexpected error, unable to continue. Please report at https://github.com/swift-actions/setup-swift/issues
The process '/opt/hostedtoolcache/swift-Ubuntu/6.0.2/arm64/usr/bin/swift' failed with exit code 2
Stacktrace:
Error: The process '/opt/hostedtoolcache/swift-Ubuntu/6.0.2/arm64/usr/bin/swift' failed with exit code 2
    at ExecState._setResult (/home/runner/work/_actions/swift-actions/setup-swift/v2.2.0/dist/index.js:3195:25)
    at ExecState.CheckComplete (/home/runner/work/_actions/swift-actions/setup-swift/v2.2.0/dist/index.js:3178:18)
    at ChildProcess.<anonymous> (/home/runner/work/_actions/swift-actions/setup-swift/v2.2.0/dist/index.js:3072:27)
    at ChildProcess.emit (node:events:524:28)
    at maybeClose (node:internal/child_process:1104:16)
    at Socket.<anonymous> (node:internal/child_process:456:11)
    at Socket.emit (node:events:524:28)
    at Pipe.<anonymous> (node:net:343:12)

Describe the solution you'd like

Linux arm64 architecture becomes public preview as a new GitHub Action runner. It would be great if setup-swift support this new linux runner.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions