Skip to content
This repository was archived by the owner on Oct 18, 2023. It is now read-only.

Commit e68e046

Browse files
committed
Remove node-gyp install and configure msvs version on Windows
1 parent 3add9ac commit e68e046

File tree

3 files changed

+3
-688
lines changed

3 files changed

+3
-688
lines changed

.github/workflows/ci.yaml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,9 @@ jobs:
2222
uses: actions/setup-node@v2
2323
with:
2424
node-version: ${{matrix.node}}
25-
- name: Install global node-gyp on Linux
26-
if: ${{matrix.os == 'ubuntu-latest'}}
27-
run: sudo npm i -g node-gyp
28-
- name: Install global node-gyp on non Linux
29-
if: ${{matrix.os != 'ubuntu-latest'}}
30-
run: npm i -g node-gyp
25+
- name: Configure msvs version on Windows
26+
if: ${{matrix.os == 'winows-latest'}}
27+
run: node-gyp configure --msvs_version=2019
3128
- name: Run tests
3229
env:
3330
OPENCV4NODEJS_DISABLE_AUTOBUILD: 1

0 commit comments

Comments
 (0)