mirror of
https://github.com/ivabus/pantry
synced 2024-11-24 17:35:08 +03:00
replace macos-11 test runner
https://github.com/actions/runner-images#available-images
This commit is contained in:
parent
46ba8f64d0
commit
0adc9dde6b
1 changed files with 3 additions and 2 deletions
5
.github/scripts/get-matrix.ts
vendored
5
.github/scripts/get-matrix.ts
vendored
|
@ -47,6 +47,7 @@ async function get_config(pkg: {project: string}) {
|
|||
}
|
||||
}
|
||||
|
||||
// https://github.com/actions/runner-images#available-images
|
||||
function get_matrix(platform: string) {
|
||||
const name = platform.replace('/', '+')
|
||||
switch (platform) {
|
||||
|
@ -54,7 +55,7 @@ function get_matrix(platform: string) {
|
|||
const os = ["self-hosted", "macOS", "ARM64"]
|
||||
return {
|
||||
os, name,
|
||||
"test-os": [os],
|
||||
"test-os": ["macos-13-xlarge", "macos-14"],
|
||||
"test-container": [null],
|
||||
tinyname: "²"
|
||||
}}
|
||||
|
@ -62,7 +63,7 @@ function get_matrix(platform: string) {
|
|||
const os = ["self-hosted", "macOS", "X64"]
|
||||
return {
|
||||
os, name,
|
||||
"test-os": ["macos-11", "macos-12"],
|
||||
"test-os": ["macos-12", "macos-13", "macos-14-large"],
|
||||
"test-container": [null],
|
||||
tinyname: "x64"
|
||||
}}
|
||||
|
|
Loading…
Reference in a new issue