Test more samples in nightly-run CI (#3358)

Build and run sample native-lib and wamr-app-framework's simple
in nightly-run CI.
This commit is contained in:
TianlongLiang 2024-04-25 20:58:28 +08:00 committed by GitHub
parent 21cd423a72
commit f14a166466
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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:
[