github actions: simplify ci.yml, test js backend on windows

This commit is contained in:
Zaoqi 2019-09-21 23:34:17 +08:00 committed by Alexander Medvednikov
parent f1d5f8e2bf
commit 104e4c9fc7
3 changed files with 40 additions and 31 deletions

View file

@ -143,6 +143,8 @@ glfw dependency will be removed soon.
## JavaScript backend
[examples/hello_v_js.v](examples/hello_v_js.v):
```
fn main() {
for i := 0; i < 3; i++ {
@ -152,7 +154,7 @@ fn main() {
```
```bash
v -o hi.js hi.v && node hi.js
v -o hi.js examples/hello_v_js.v && node hi.js
Hello from V.js
Hello from V.js
Hello from V.js