Skip to content

Commit 8851ff1

Browse files
committed
add test
1 parent 9fc1bb8 commit 8851ff1

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.github/workflows/ci.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,11 @@ jobs:
160160
git submodule update --init --checkout --depth 1
161161
time make test262
162162
163+
- name: test standalone
164+
run: |
165+
./build/qjs -c examples/hello.js -o hello
166+
./hello
167+
163168
windows-msvc:
164169
runs-on: windows-latest
165170
strategy:
@@ -184,6 +189,10 @@ jobs:
184189
build\${{matrix.buildType}}\qjs.exe examples\test_point.js
185190
build\${{matrix.buildType}}\run-test262.exe -c tests.conf
186191
build\${{matrix.buildType}}\function_source.exe
192+
- name: test standalone
193+
run: |
194+
build\${{matrix.buildType}}\qjs.exe -c examples\hello.js -o hello.exe
195+
hello.exe
187196
- name: Set up Visual Studio shell
188197
uses: egor-tensin/vs-shell@v2
189198
with:
@@ -351,6 +360,10 @@ jobs:
351360
- name: test
352361
run: |
353362
make test
363+
- name: test standalone
364+
run: |
365+
./build/qjs -c examples/hello.js -o hello.exe
366+
./hello
354367
windows-mingw-shared:
355368
runs-on: windows-latest
356369
defaults:

0 commit comments

Comments
 (0)