File tree Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ push :
5+ branches : [ master ]
6+
7+ pull_request :
8+ branches : [ master ]
9+
10+ # Allows you to run this workflow manually from the Actions tab
11+ workflow_dispatch :
12+
13+ jobs :
14+ run-tests :
15+ runs-on : ubuntu-latest
16+ steps :
17+ - name : Checkout repo
18+ uses : actions/checkout@v2
19+ with :
20+ submodules : " recursive"
21+ - name : Build QuickJS
22+ run : make
23+ - name : Run normal tests
24+ # test_os() depends on stdin being a tty, which requires this hack
25+ # https://github.com/gfx/example-github-actions-with-tty
26+ shell : ' script -q -e -c "bash {0}"'
27+ run : make test
28+
29+ run-test262 :
30+ runs-on : ubuntu-latest
31+ steps :
32+ - name : Checkout repo
33+ uses : actions/checkout@v2
34+ with :
35+ submodules : " recursive"
36+ - name : Build QuickJS
37+ run : make
38+ - name : Patch test262
39+ run : cd test262 && patch -p1 < ../tests/test262.patch
40+ - name : Run test262 tests
41+ run : make test2
You can’t perform that action at this time.
0 commit comments