Skip to content

Commit b18b834

Browse files
authored
chore: macos-15-intel runner on ci (#31419)
This includes fixes from denoland/sui@e229ef1
1 parent 17cdcc2 commit b18b834

File tree

15 files changed

+29
-18
lines changed

15 files changed

+29
-18
lines changed

.github/workflows/ci.generate.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const ubuntuX86XlRunner = "ghcr.io/cirruslabs/ubuntu-runner-amd64:24.04";
1212
const ubuntuARMRunner = "ghcr.io/cirruslabs/ubuntu-runner-arm64:24.04";
1313
const windowsX86Runner = "windows-2022";
1414
const windowsX86XlRunner = "windows-2022-xl";
15-
const macosX86Runner = "macos-13";
15+
const macosX86Runner = "macos-15-intel";
1616
const macosArmRunner = "macos-14";
1717
const selfHostedMacosArmRunner = "ghcr.io/cirruslabs/macos-runner:sonoma";
1818

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,12 +60,12 @@ jobs:
6060
include:
6161
- os: macos
6262
arch: x86_64
63-
runner: macos-13
63+
runner: macos-15-intel
6464
job: test
6565
profile: debug
6666
- os: macos
6767
arch: x86_64
68-
runner: '${{ (!contains(github.event.pull_request.labels.*.name, ''ci-full'') && (github.event_name == ''pull_request'')) && ''ubuntu-24.04'' || ''macos-13'' }}'
68+
runner: '${{ (!contains(github.event.pull_request.labels.*.name, ''ci-full'') && (github.event_name == ''pull_request'')) && ''ubuntu-24.04'' || ''macos-15-intel'' }}'
6969
job: test
7070
profile: release
7171
skip: '${{ !contains(github.event.pull_request.labels.*.name, ''ci-full'') && (github.event_name == ''pull_request'') }}'
@@ -765,7 +765,7 @@ jobs:
765765
job: lint
766766
- os: macos
767767
arch: x86_64
768-
runner: macos-13
768+
runner: macos-15-intel
769769
profile: debug
770770
job: lint
771771
- os: windows

Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ dprint-plugin-markdown = "=0.20.0"
314314
dprint-plugin-typescript = "=0.95.13"
315315
env_logger = "=0.11.6"
316316
fancy-regex = "=0.14.0"
317-
libsui = "0.11.0"
317+
libsui = "0.12.2"
318318
malva = "=0.12.1"
319319
markup_fmt = "=0.22.0"
320320
open = "5.0.1"

cli/standalone/binary.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,10 +180,10 @@ pub fn is_standalone_binary(exe_path: &Path) -> bool {
180180
let Ok(data) = std::fs::read(exe_path) else {
181181
return false;
182182
};
183-
184183
libsui::utils::is_elf(&data)
185184
|| libsui::utils::is_pe(&data)
186185
|| libsui::utils::is_macho(&data)
186+
|| data.is_empty()
187187
}
188188

189189
pub struct WriteBinOptions<'a> {

tests/specs/compile/determinism/__test__.jsonc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"tempDir": true,
3+
"if": "notMacIntel",
34
"steps": [{
45
"args": [
56
"eval",

tests/specs/compile/ffi/__test__.jsonc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"tempDir": true,
3+
"if": "notMacIntel",
34
"steps": [{
45
"args": "run -A setup.ts",
56
"output": "[WILDCARD]"

tests/specs/compile/global_npm_cache_implicit_read_permission/__test__.jsonc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
22
"tempDir": true,
33
"steps": [{
4-
"if": "unix",
4+
"if": "notMacIntel",
55
"args": "compile --output main main.ts",
66
"output": "compile.out"
77
}, {
8-
"if": "unix",
8+
"if": "notMacIntel",
99
"commandName": "./main",
1010
"args": [],
1111
"output": "main.out"

tests/specs/compile/include/buffered_reads/__test__.jsonc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
"args": "run -A setup.js",
55
"output": "[WILDCARD]"
66
}, {
7-
"if": "unix",
7+
"if": "notMacIntel",
88
"args": "compile --allow-read=data --include data --output main main.ts",
99
"output": "[WILDCARD]"
1010
}, {
11-
"if": "unix",
11+
"if": "notMacIntel",
1212
"commandName": "./main",
1313
"args": [],
1414
"output": "[WILDCARD]",

tests/specs/compile/node_api/__test__.jsonc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"tempDir": true,
3+
"if": "notMacIntel",
34
"steps": [{
45
"args": "install --allow-scripts",
56
"output": "[WILDCARD]"

0 commit comments

Comments
 (0)