Update documents (#669)
Update CI rules to improve CI build speed, update document about arch support and update document of wamrc help. Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
This commit is contained in:
20
.github/workflows/android.yml
vendored
20
.github/workflows/android.yml
vendored
@ -1,6 +1,6 @@
|
||||
# This is a basic workflow to help you get started with Actions
|
||||
|
||||
name: android
|
||||
name: Android
|
||||
|
||||
# Controls when the action will run.
|
||||
on:
|
||||
@ -31,61 +31,61 @@ jobs:
|
||||
cd product-mini/platforms/android
|
||||
mkdir build && cd build
|
||||
cmake ..
|
||||
make
|
||||
make -j $(nproc)
|
||||
cd .. && rm -rf build
|
||||
- name: Build iwasm [Classic interp]
|
||||
run: |
|
||||
cd product-mini/platforms/android
|
||||
mkdir build && cd build
|
||||
cmake .. -DWAMR_BUILD_FAST_INTERP=0
|
||||
make
|
||||
make -j $(nproc)
|
||||
cd .. && rm -rf build
|
||||
- name: Build iwasm [Multi module]
|
||||
run: |
|
||||
cd product-mini/platforms/android
|
||||
mkdir build && cd build
|
||||
cmake .. -DWAMR_BUILD_MULTI_MODULE=1
|
||||
make
|
||||
make -j $(nproc)
|
||||
cd .. && rm -rf build
|
||||
- name: Build iwasm [lib-pthread]
|
||||
run: |
|
||||
cd product-mini/platforms/android
|
||||
mkdir build && cd build
|
||||
cmake .. -DWAMR_BUILD_LIB_PTHREAD=1
|
||||
make
|
||||
make -j $(nproc)
|
||||
cd .. && rm -rf build
|
||||
- name: Build iwasm [aot only]
|
||||
run: |
|
||||
cd product-mini/platforms/android
|
||||
mkdir build && cd build
|
||||
cmake .. -DWAMR_BUILD_AOT=1 -DWAMR_BUILD_INTERP=0
|
||||
make
|
||||
make -j $(nproc)
|
||||
cd .. && rm -rf build
|
||||
- name: Build iwasm [interp only]
|
||||
run: |
|
||||
cd product-mini/platforms/android
|
||||
mkdir build && cd build
|
||||
cmake .. -DWAMR_BUILD_AOT=0
|
||||
make
|
||||
make -j $(nproc)
|
||||
cd .. && rm -rf build
|
||||
- name: Build iwasm [memory profiling]
|
||||
run: |
|
||||
cd product-mini/platforms/android
|
||||
mkdir build && cd build
|
||||
cmake .. -DWAMR_BUILD_MEMORY_PROFILING=1
|
||||
make
|
||||
make -j $(nproc)
|
||||
cd .. && rm -rf build
|
||||
- name: Build iwasm [tail call]
|
||||
run: |
|
||||
cd product-mini/platforms/android
|
||||
mkdir build && cd build
|
||||
cmake .. -DWAMR_BUILD_TAIL_CALL=1
|
||||
make
|
||||
make -j $(nproc)
|
||||
cd .. && rm -rf build
|
||||
- name: Build iwasm [custom name section]
|
||||
run: |
|
||||
cd product-mini/platforms/android
|
||||
mkdir build && cd build
|
||||
cmake .. -DWAMR_BUILD_CUSTOM_NAME_SECTION=1
|
||||
make
|
||||
make -j $(nproc)
|
||||
cd .. && rm -rf build
|
||||
|
||||
Reference in New Issue
Block a user