Skip to content

Commit 4a42fef

Browse files
committed
ci: disable Windows build matrices
1 parent 865bc0e commit 4a42fef

2 files changed

Lines changed: 12 additions & 9 deletions

File tree

.github/workflows/ci.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@ jobs:
1515
- ubuntu-24.04-arm
1616
- macos-15-intel
1717
- macos-latest
18-
- windows-latest
18+
# Windows prebuild is temporarily unsupported; keep it out of CI
19+
# until a Windows runtime is needed by a production consumer.
20+
# - windows-latest
1921
runs-on: ${{ matrix.os }}
2022
steps:
2123
- uses: actions/checkout@v5
@@ -27,9 +29,9 @@ jobs:
2729
- uses: oven-sh/setup-bun@v2
2830
with:
2931
bun-version: latest
30-
# bun 在 Windows 上生成 exe shim,而 prebuildify 硬编码 spawn node-gyp.cmd
31-
- if: runner.os == 'Windows'
32-
run: npm install -g node-gyp
32+
# Windows-only node-gyp setup stays disabled with the Windows matrix.
33+
# - if: runner.os == 'Windows'
34+
# run: npm install -g node-gyp
3335
- run: bun install --ignore-scripts
3436
- run: bun run prebuild
3537
- run: node test/test.js

.github/workflows/publish.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,9 @@ jobs:
2121
arch: x64
2222
- os: macos-latest
2323
arch: arm64
24-
- os: windows-latest
25-
arch: x64
24+
# Windows prebuild publication is temporarily disabled.
25+
# - os: windows-latest
26+
# arch: x64
2627
runs-on: ${{ matrix.os }}
2728
steps:
2829
- uses: actions/checkout@v5
@@ -34,9 +35,9 @@ jobs:
3435
- uses: oven-sh/setup-bun@v2
3536
with:
3637
bun-version: latest
37-
# bun 在 Windows 上生成 exe shim,而 prebuildify 硬编码 spawn node-gyp.cmd
38-
- if: runner.os == 'Windows'
39-
run: npm install -g node-gyp
38+
# Windows-only node-gyp setup stays disabled with the Windows matrix.
39+
# - if: runner.os == 'Windows'
40+
# run: npm install -g node-gyp
4041
- run: bun install --ignore-scripts
4142
- run: bun run prebuild
4243
- run: node test/test.js

0 commit comments

Comments
 (0)