@@ -124,7 +124,7 @@ jobs:
124124 - name : Build wamrc
125125 run : |
126126 mkdir build && cd build
127- cmake ..
127+ cmake .. -DCMAKE_C_FLAGS="-Werror"
128128 cmake --build . --config Release --parallel 4
129129 working-directory : wamr-compiler
130130
@@ -166,6 +166,7 @@ jobs:
166166 " -DWAMR_BUILD_MULTI_MEMORY=1" ,
167167 " -DWAMR_BUILD_SHARED=1" ,
168168 " -DWAMR_BUILD_EXTENDED_CONST_EXPR=1" ,
169+ " -DWAMR_BUILD_LIME1=1 -DWAMR_BUILD_BULK_MEMORY=0 -DWAMR_BUILD_REF_TYPES=0 -DWAMR_BUILD_SIMD=0" ,
169170 ]
170171 os : [ubuntu-22.04]
171172 platform : [android, linux]
@@ -293,15 +294,15 @@ jobs:
293294 if : matrix.platform == 'linux'
294295 run : |
295296 mkdir build && cd build
296- cmake .. ${{ matrix.make_options_run_mode }} ${{ matrix.make_options_feature }}
297+ cmake .. -DCMAKE_C_FLAGS="-Werror" ${{ matrix.make_options_run_mode }} ${{ matrix.make_options_feature }}
297298 cmake --build . --config Release --parallel 4
298299 working-directory : product-mini/platforms/${{ matrix.platform }}
299300
300301 - name : Build iwasm for android
301302 if : matrix.platform == 'android'
302303 run : |
303304 mkdir build && cd build
304- cmake .. ${{ matrix.make_options_run_mode }} ${{ matrix.make_options_feature }} \
305+ cmake .. -DCMAKE_C_FLAGS="-Werror" ${{ matrix.make_options_run_mode }} ${{ matrix.make_options_feature }} \
305306 -DWAMR_BUILD_TARGET=X86_64
306307 cmake --build . --config Release --parallel 4
307308 working-directory : product-mini/platforms/${{ matrix.platform }}
0 commit comments