Skip to content

Commit 66a5a96

Browse files
committed
docs: add CI section in root README
1 parent 41695a2 commit 66a5a96

1 file changed

Lines changed: 29 additions & 0 deletions

File tree

README.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -357,6 +357,35 @@ More about the [SpiderMonkey runtime embedding](https://github.com/bytecodeallia
357357

358358
Coming.
359359

360+
## CI
361+
362+
### Testing
363+
364+
The `pluginlab` binary is built and tested e2e (using `rexpect` library).
365+
366+
The `web-host` is built and tested e2e (using [playwright](https://playwright.dev/)).
367+
368+
### Deployment
369+
370+
The `web-host` is automatically deployed to github pages when pushed on the `master` branch, containing the latest `wasm` versions of the plugins available at https://topheman.github.io/webassembly-component-model-experiments/plugins.
371+
372+
### Pre-release
373+
374+
https://github.com/topheman/webassembly-component-model-experiments/releases
375+
376+
When a git tag is pushed, a pre-release is prepared on github, linked to the tag, containing the `wasm` files for the plugins and the repl-logic, in order to version those. That way, you can use an old binary of `pluginlab` against the correct versions of the plugins:
377+
378+
```sh
379+
pluginlab\
380+
--repl-logic https://github.com/topheman/webassembly-component-model-experiments/releases/download/pluginlab@0.4.1/repl_logic_guest.wasm\
381+
--plugins https://github.com/topheman/webassembly-component-model-experiments/releases/download/pluginlab@0.4.1/plugin_greet.wasm\
382+
--plugins https://github.com/topheman/webassembly-component-model-experiments/releases/download/pluginlab@0.4.1/plugin_ls.wasm\
383+
--plugins https://github.com/topheman/webassembly-component-model-experiments/releases/download/pluginlab@0.4.1/plugin_echo.wasm\
384+
--plugins https://github.com/topheman/webassembly-component-model-experiments/releases/download/pluginlab@0.4.1/plugin_weather.wasm\
385+
--plugins https://github.com/topheman/webassembly-component-model-experiments/releases/download/pluginlab@0.4.1/plugin_cat.wasm\
386+
--plugins https://github.com/topheman/webassembly-component-model-experiments/releases/download/pluginlab@0.4.1/plugin-echo-c.wasm\
387+
--allow-all
388+
```
360389

361390
## Developer experience
362391

0 commit comments

Comments
 (0)