Skip to content

Commit 3970f04

Browse files
Add support for Ubuntu 24 arm64 runner (#294)
* Add support for Ubuntu 24 arm64 runner * Update macos runner
1 parent 57f2d89 commit 3970f04

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

.github/workflows/build-python-packages.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ on:
1515
PLATFORMS:
1616
description: 'Platforms for execution in "os" or "os_arch" format (arch is "x64" by default)'
1717
required: true
18-
default: 'ubuntu-20.04,ubuntu-22.04,ubuntu-22.04_arm64,ubuntu-24.04,macos-13_x64,macos-14_arm64,windows-2019_x64,windows-2019_x86,windows-2019_arm64'
18+
default: 'ubuntu-20.04,ubuntu-22.04,ubuntu-22.04_arm64,ubuntu-24.04,ubuntu-24.04_arm64,macos-12_x64,macos-14_arm64,windows-2019_x64,windows-2019_x86,windows-2019_arm64'
1919
pull_request:
2020
paths-ignore:
2121
- 'versions-manifest.json'
@@ -39,7 +39,7 @@ jobs:
3939
- name: Generate execution matrix
4040
id: generate-matrix
4141
run: |
42-
[String[]]$configurations = "${{ inputs.platforms || 'ubuntu-20.04,ubuntu-22.04,ubuntu-22.04_arm64,ubuntu-24.04,macos-13,macos-14_arm64,windows-2019_x64,windows-2019_x86,windows-2019_arm64' }}".Split(",").Trim()
42+
[String[]]$configurations = "${{ inputs.platforms || 'ubuntu-20.04,ubuntu-22.04,ubuntu-22.04_arm64,ubuntu-24.04,ubuntu-24.04_arm64,macos-12,macos-14_arm64,windows-2019_x64,windows-2019_x86,windows-2019_arm64' }}".Split(",").Trim()
4343
$matrix = @()
4444
4545
foreach ($configuration in $configurations) {
@@ -51,11 +51,17 @@ jobs:
5151
"*macos*" { $platform = 'darwin' }
5252
"*windows*" { $platform = 'win32' }
5353
}
54-
if ($configuration -eq "ubuntu-22.04_arm64") {
54+
55+
if ($configuration -eq "ubuntu-22.04_arm64") {
5556
$os = "setup-actions-ubuntu-arm64-2-core"
56-
}elseif ($configuration -eq "windows-2019_arm64") {
57+
}
58+
elseif ($configuration -eq "ubuntu-24.04_arm64") {
59+
$os = "setup-actions-ubuntu24-arm64-2-core"
60+
}
61+
elseif ($configuration -eq "windows-2019_arm64") {
5762
$os = "setup-actions-windows-arm64-4-core"
5863
}
64+
5965
$matrix += @{
6066
'platform' = $platform
6167
'os' = $os

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy