replace macos-11 test runner

https://github.com/actions/runner-images#available-images
This commit is contained in:
Jacob Heider 2024-06-17 11:52:58 -04:00
parent 46ba8f64d0
commit 0adc9dde6b
No known key found for this signature in database
GPG key ID: 51E3FD0EE62677B6

View file

@ -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"
}} }}