Skip to content

Commit d85299f

Browse files
authored
ci: build on demand when run cpp test (#11)
1 parent f8f7632 commit d85299f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"build": "node scripts/build_instrumentation.js && tsc --build ./transform/tsconfig.json && tsc --build ./src/tsconfig.json",
1616
"test:as": "node bin/as-test.js",
1717
"test:ts": "cross-env NODE_OPTIONS=--experimental-vm-modules jest",
18-
"test:cpp": "cmake -B build -S . && cmake --build build && build/bin/wasm-instrumentation-test",
18+
"test:cpp": "cmake -B build -S . && cmake --build build --target wasm-instrumentation-test wasm-opt && build/bin/wasm-instrumentation-test",
1919
"test": "npm run test:as && npm run test:ts && npm run test:cpp",
2020
"lint": "eslint src assembly tests/ts/test --max-warnings=0 && prettier -c .",
2121
"lint:fix": "eslint src assembly --fix && npx prettier --write .",

0 commit comments

Comments
 (0)