[Wasm] Reenable gradle integration tests for node and binaryen
* Update to supported node.js version * Add missing binaryen flag Merge-request: KT-MR-8180 Merged-by: Svyatoslav Kuzmich <svyatoslav.kuzmich@jetbrains.com>
This commit is contained in:
committed by
Space Team
parent
451e27fd46
commit
3cf811012a
-3
@@ -1991,18 +1991,15 @@ class NewMultiplatformIT : BaseGradleIT() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@Ignore
|
|
||||||
fun testWasmNodeTest() = testWasmTest("nodejs", "Node", useBinaryen = false)
|
fun testWasmNodeTest() = testWasmTest("nodejs", "Node", useBinaryen = false)
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@Ignore
|
|
||||||
fun testWasmWithBinaryenNodeTest() = testWasmTest("nodejs", "Node", useBinaryen = true)
|
fun testWasmWithBinaryenNodeTest() = testWasmTest("nodejs", "Node", useBinaryen = true)
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
fun testWasmD8Test() = testWasmTest("d8", "D8", useBinaryen = false)
|
fun testWasmD8Test() = testWasmTest("d8", "D8", useBinaryen = false)
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@Ignore
|
|
||||||
fun testWasmWithBinaryenD8Test() = testWasmTest("d8", "D8", useBinaryen = true)
|
fun testWasmWithBinaryenD8Test() = testWasmTest("d8", "D8", useBinaryen = true)
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
|||||||
+3
-3
@@ -8,9 +8,9 @@ repositories {
|
|||||||
}
|
}
|
||||||
|
|
||||||
with(org.jetbrains.kotlin.gradle.targets.js.nodejs.NodeJsRootPlugin.apply(rootProject)) {
|
with(org.jetbrains.kotlin.gradle.targets.js.nodejs.NodeJsRootPlugin.apply(rootProject)) {
|
||||||
//nightly nodejs that supports wasm M5
|
//canary nodejs that supports wasm GC M6
|
||||||
nodeVersion = "19.0.0-nightly202206017ad5b420ae"
|
nodeVersion = "20.0.0-v8-canary2022112061c569ba0d"
|
||||||
nodeDownloadBaseUrl = "https://nodejs.org/download/nightly/"
|
nodeDownloadBaseUrl = "https://nodejs.org/download/v8-canary"
|
||||||
}
|
}
|
||||||
|
|
||||||
with(org.jetbrains.kotlin.gradle.targets.js.d8.D8RootPlugin.apply(rootProject)) {
|
with(org.jetbrains.kotlin.gradle.targets.js.d8.D8RootPlugin.apply(rootProject)) {
|
||||||
|
|||||||
+1
@@ -32,6 +32,7 @@ constructor() : AbstractExecTask<BinaryenExec>(BinaryenExec::class.java) {
|
|||||||
"--enable-gc",
|
"--enable-gc",
|
||||||
"--enable-reference-types",
|
"--enable-reference-types",
|
||||||
"--enable-exception-handling",
|
"--enable-exception-handling",
|
||||||
|
"--enable-bulk-memory", // For array initialization from data sections
|
||||||
"--hybrid",
|
"--hybrid",
|
||||||
"-O3",
|
"-O3",
|
||||||
"--inline-functions-with-loops",
|
"--inline-functions-with-loops",
|
||||||
|
|||||||
Reference in New Issue
Block a user