mirror of
https://github.com/Z3Prover/z3
synced 2025-06-07 14:43:23 +00:00
automatically release wasm build (#5997)
This commit is contained in:
parent
24baf56e27
commit
dc18b47967
4 changed files with 10 additions and 10 deletions
2
.github/workflows/wasm-release.yml
vendored
2
.github/workflows/wasm-release.yml
vendored
|
@ -2,6 +2,8 @@ name: WebAssembly Publish
|
||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
release:
|
||||||
|
types: [published]
|
||||||
|
|
||||||
defaults:
|
defaults:
|
||||||
run:
|
run:
|
||||||
|
|
|
@ -56,7 +56,6 @@ import { init, Z3_error_code } from './build/node-wrapper';
|
||||||
}
|
}
|
||||||
console.log('confirming error messages work:', Z3.get_error_msg(ctx, Z3.get_error_code(ctx)));
|
console.log('confirming error messages work:', Z3.get_error_msg(ctx, Z3.get_error_code(ctx)));
|
||||||
|
|
||||||
|
|
||||||
Z3.dec_ref(ctx, strAst);
|
Z3.dec_ref(ctx, strAst);
|
||||||
Z3.del_context(ctx);
|
Z3.del_context(ctx);
|
||||||
|
|
||||||
|
|
|
@ -121,7 +121,6 @@ for (let file of files) {
|
||||||
throw new Error(`extra text in parameter list ${JSON.stringify(text)}`);
|
throw new Error(`extra text in parameter list ${JSON.stringify(text)}`);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
if (name in defApis) {
|
if (name in defApis) {
|
||||||
throw new Error(`multiple defApi calls for ${name}`);
|
throw new Error(`multiple defApi calls for ${name}`);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue