Skip to content

Commit 68068aa

Browse files
committed
test: disable wasm tests
1 parent b21cf87 commit 68068aa

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/visual-studio.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ on:
66
branches: [ main ]
77
pull_request:
88
branches: [ main ]
9+
workflow_dispatch:
910

1011
permissions:
1112
contents: read # to fetch code (actions/checkout)

test/test-windows-make.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,8 @@ function quote (path) {
7575
}
7676

7777
describe('windows-cross-compile', function () {
78-
it('build simple node-api addon', async function () {
78+
// Visual Studio Clang removed wasm support in the latest VS2022.
79+
it.skip('build simple node-api addon', async function () {
7980
if (process.platform !== 'win32') {
8081
return this.skip('This test is only for windows')
8182
}
@@ -99,6 +100,7 @@ describe('windows-cross-compile', function () {
99100
'--arch=wasm32',
100101
'--', '-f', 'make'
101102
]
103+
102104
const [err, logLines] = await execFile(cmd, env)
103105
const lastLine = logLines[logLines.length - 1]
104106
assert.strictEqual(err, null)

0 commit comments

Comments
 (0)