mirror of
https://github.com/Boof2015/prism.git
synced 2026-08-12 05:10:51 +02:00
fix another ci error
This commit is contained in:
@@ -20,7 +20,10 @@ jobs:
|
||||
dist_cmd: dist:mac
|
||||
- os: ubuntu-latest
|
||||
dist_cmd: dist:linux
|
||||
- os: windows-latest
|
||||
# Pinned to windows-2022 because windows-latest now ships VS 2026
|
||||
# (internal version 18), which the @electron/node-gyp version in our
|
||||
# lockfile rejects as "unsupported". 2022 has VS 2022 only, no ambiguity.
|
||||
- os: windows-2022
|
||||
dist_cmd: dist:win
|
||||
|
||||
steps:
|
||||
@@ -50,13 +53,6 @@ jobs:
|
||||
sudo apt-get install -y libpulse-dev
|
||||
|
||||
- name: Build native DSP module
|
||||
env:
|
||||
# node-gyp's Visual Studio auto-detect shells out a PowerShell script
|
||||
# whose output overflows its internal stdout buffer on windows-latest
|
||||
# (RangeError ERR_CHILD_PROCESS_STDIO_MAXBUFFER → "Could not find any
|
||||
# Visual Studio installation"). Telling it the version directly skips
|
||||
# the broken enumeration. Harmless on macOS / Linux.
|
||||
GYP_MSVS_VERSION: 2022
|
||||
run: npm run rebuild:native
|
||||
|
||||
- name: Verify native module exists
|
||||
|
||||
Reference in New Issue
Block a user