File tree Expand file tree Collapse file tree 3 files changed +49
-18
lines changed Expand file tree Collapse file tree 3 files changed +49
-18
lines changed Original file line number Diff line number Diff line change 3030 run : ctest -VV
3131 working-directory : build-unit-tests
3232
33+ latch :
34+ name : Run official testsuite
35+ runs-on : ubuntu-latest
36+ if : github.event.pull_request.draft == false
37+ steps :
38+ - uses : actions/checkout@v3
39+ with :
40+ submodules : recursive
41+
42+ - uses : actions/setup-node@v3
43+ with :
44+ node-version : 16
45+
46+ - name : Build warduino cli
47+ run : |
48+ cmake . -D BUILD_EMULATOR=ON
49+ cmake --build .
50+ echo "EMULATOR=$(realpath ./wdcli)" >> $GITHUB_ENV
51+
52+ - name : Build WABT # Build latest version
53+ run : |
54+ git clone --recursive https://github.com/TOPLLab/wabt.git
55+ cd wabt
56+ git checkout develop
57+ git submodule update --init
58+ mkdir build; cd build
59+ cmake ..
60+ cmake --build .
61+
62+ - name : Verify wat2wasm
63+ run : |
64+ echo "WABT=$(readlink -f ./wabt/build)" >> $GITHUB_ENV
65+ ./wabt/build/wat2wasm --version
66+
67+ - run : npm install
68+ working-directory : tests/latch/
69+
70+ - name : Run Latch
71+ run : npm run spectest
72+ working-directory : tests/latch/
73+
You can’t perform that action at this time.
0 commit comments