Skip to content

Commit

Permalink
Test more samples in nightly-run CI (bytecodealliance#3358)
Browse files Browse the repository at this point in the history
Build and run sample native-lib and wamr-app-framework's simple
in nightly-run CI.
  • Loading branch information
TianlongLiang committed Apr 25, 2024
1 parent b45ed08 commit 38849f1
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/nightly_run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -547,6 +547,26 @@ jobs:
cd samples/terminate
./build.sh
./run.sh
- name: Build Sample [native-lib]
run: |
mkdir build && cd build
cmake ..
cmake --build . --config Release --parallel 4
./iwasm --native-lib=./libtest_add.so --native-lib=./libtest_sqrt.so --native-lib=./libtest_hello.so --native-lib=./libtest_hello2.so wasm-app/test.wasm
working-directory: ./samples/native-lib

- name: checkout wamr-app-framework
run: git clone https://github.com/bytecodealliance/wamr-app-framework.git
- name: download wamr-app-framework dependencies
run: LVGL=0 LV_DRIVERS=0 ./download.sh
working-directory: ./wamr-app-framework/deps
- name: Build Sample [simple]
run: |
./build.sh -p host-interp
python3 ./sample_test_run.py $(pwd)/out
exit $?
working-directory: ./wamr-app-framework/samples/simple
test:
needs:
[
Expand Down

0 comments on commit 38849f1

Please sign in to comment.