File tree Expand file tree Collapse file tree 2 files changed +12
-1
lines changed
Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change 2626 with :
2727 # Linux
2828 linux_os_versions : ' ["jammy", "rhel-ubi9", "amazonlinux2"]'
29+ linux_archs : ' ["x86_64", "aarch64"]'
2930 linux_build_command : |
3031 cd tests/TestPackage
3132 swift build
Original file line number Diff line number Diff line change 5050 type : string
5151 description : " Linux OS version list (JSON)"
5252 default : " [\" jammy\" ]"
53+ linux_archs :
54+ type : string
55+ description : " Linux arch list (JSON)"
56+ default : " [\" x86_64\" ]"
5357 linux_static_sdk_versions :
5458 type : string
5559 description : " Static Linux Swift SDK version list (JSON)"
@@ -297,14 +301,20 @@ jobs:
297301 linux-build :
298302 name : Linux (${{ matrix.swift_version }} - ${{ matrix.os_version }})
299303 if : ${{ inputs.enable_linux_checks }}
300- runs-on : ubuntu-latest
304+ runs-on : ${{ matrix.runner }}
301305 strategy :
302306 fail-fast : false
303307 matrix :
304308 swift_version : ${{ fromJson(inputs.linux_swift_versions) }}
305309 os_version : ${{ fromJson(inputs.linux_os_versions) }}
310+ arch : ${{ fromJson(inputs.linux_archs) }}
306311 exclude :
307312 - ${{ fromJson(inputs.linux_exclude_swift_versions) }}
313+ include :
314+ - arch : x86_64
315+ runner : ubuntu-24.04
316+ - arch : aarch64
317+ runner : ubuntu-24.04-arm
308318 container :
309319 image : ${{ (contains(matrix.swift_version, 'nightly') && 'swiftlang/swift') || 'swift' }}:${{ matrix.swift_version }}-${{ matrix.os_version }}
310320 steps :
You can’t perform that action at this time.
0 commit comments