mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-02-06 15:05:19 +00:00
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:
parent
21cd423a72
commit
f14a166466
20
.github/workflows/nightly_run.yml
vendored
20
.github/workflows/nightly_run.yml
vendored
|
@ -547,6 +547,26 @@ jobs:
|
||||||
cd samples/terminate
|
cd samples/terminate
|
||||||
./build.sh
|
./build.sh
|
||||||
./run.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:
|
test:
|
||||||
needs:
|
needs:
|
||||||
[
|
[
|
||||||
|
|
Loading…
Reference in New Issue
Block a user