mirror of
https://github.com/ivabus/pantry
synced 2024-11-25 01:45:06 +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) {
|
function get_matrix(platform: string) {
|
||||||
const name = platform.replace('/', '+')
|
const name = platform.replace('/', '+')
|
||||||
switch (platform) {
|
switch (platform) {
|
||||||
|
@ -54,7 +55,7 @@ function get_matrix(platform: string) {
|
||||||
const os = ["self-hosted", "macOS", "ARM64"]
|
const os = ["self-hosted", "macOS", "ARM64"]
|
||||||
return {
|
return {
|
||||||
os, name,
|
os, name,
|
||||||
"test-os": [os],
|
"test-os": ["macos-13-xlarge", "macos-14"],
|
||||||
"test-container": [null],
|
"test-container": [null],
|
||||||
tinyname: "²"
|
tinyname: "²"
|
||||||
}}
|
}}
|
||||||
|
@ -62,7 +63,7 @@ function get_matrix(platform: string) {
|
||||||
const os = ["self-hosted", "macOS", "X64"]
|
const os = ["self-hosted", "macOS", "X64"]
|
||||||
return {
|
return {
|
||||||
os, name,
|
os, name,
|
||||||
"test-os": ["macos-11", "macos-12"],
|
"test-os": ["macos-12", "macos-13", "macos-14-large"],
|
||||||
"test-container": [null],
|
"test-container": [null],
|
||||||
tinyname: "x64"
|
tinyname: "x64"
|
||||||
}}
|
}}
|
||||||
|
|
Loading…
Reference in a new issue