Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 41 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,44 @@ jobs:
run: ctest -VV
working-directory: build-unit-tests

latch:
name: Run official testsuite
runs-on: ubuntu-latest
if: github.event.pull_request.draft == false
steps:
- uses: actions/checkout@v3
with:
submodules: recursive

- uses: actions/setup-node@v3
with:
node-version: 16

- name: Build warduino cli
run: |
cmake . -D BUILD_EMULATOR=ON
cmake --build .
echo "EMULATOR=$(realpath ./wdcli)" >> $GITHUB_ENV

- name: Build WABT # Build latest version
run: |
git clone --recursive https://github.com/TOPLLab/wabt.git
cd wabt
git checkout develop
git submodule update --init
mkdir build; cd build
cmake ..
cmake --build .

- name: Verify wat2wasm
run: |
echo "WABT=$(readlink -f ./wabt/build)" >> $GITHUB_ENV
./wabt/build/wat2wasm --version

- run: npm install
working-directory: tests/latch/

- name: Run Latch
run: npm run spectest
working-directory: tests/latch/

Binary file modified tests/latch/latch-0.0.1.tgz
Binary file not shown.
26 changes: 8 additions & 18 deletions tests/latch/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.