@@ -85,13 +85,13 @@ jobs:
85
85
llvm_cache_key : ${{ needs.build_llvm_libraries_on_ubuntu_2204.outputs.cache_key }}
86
86
steps :
87
87
- name : checkout
88
- uses : actions/checkout@v3
88
+ uses : actions/checkout@v4
89
89
90
90
# since jobs.id can't contain the dot character
91
91
# it is hard to use `format` to assemble the cache key
92
92
- name : Get LLVM libraries
93
93
id : retrieve_llvm_libs
94
- uses : actions/cache@v3
94
+ uses : actions/cache@v4
95
95
with :
96
96
path : |
97
97
./core/deps/llvm/build/bin
@@ -145,6 +145,7 @@ jobs:
145
145
" -DWAMR_BUILD_SIMD=1" ,
146
146
" -DWAMR_BUILD_TAIL_CALL=1" ,
147
147
" -DWAMR_DISABLE_HW_BOUND_CHECK=1" ,
148
+ " -DWAMR_ENABLE_SHARED_MEMORY_MMAP=1" ,
148
149
]
149
150
os : [ubuntu-22.04]
150
151
platform : [android, linux]
@@ -213,13 +214,13 @@ jobs:
213
214
llvm_cache_key : ${{ needs.build_llvm_libraries_on_ubuntu_2204.outputs.cache_key }}
214
215
steps :
215
216
- name : checkout
216
- uses : actions/checkout@v3
217
+ uses : actions/checkout@v4
217
218
218
219
# only download llvm cache when needed
219
220
- name : Get LLVM libraries
220
221
id : retrieve_llvm_libs
221
222
if : endsWith(matrix.make_options_run_mode, '_JIT_BUILD_OPTIONS')
222
- uses : actions/cache@v3
223
+ uses : actions/cache@v4
223
224
with :
224
225
path : |
225
226
./core/deps/llvm/build/bin
@@ -284,12 +285,12 @@ jobs:
284
285
285
286
steps :
286
287
- name : checkout
287
- uses : actions/checkout@v3
288
+ uses : actions/checkout@v4
288
289
289
290
- name : Get LLVM libraries
290
291
id : retrieve_llvm_libs
291
292
if : (!endsWith(matrix.make_options, '_INTERP_BUILD_OPTIONS'))
292
- uses : actions/cache@v3
293
+ uses : actions/cache@v4
293
294
with :
294
295
path : |
295
296
./core/deps/llvm/build/bin
@@ -322,7 +323,7 @@ jobs:
322
323
run : |
323
324
VERBOSE=1
324
325
cmake -S . -B build ${{ matrix.make_options }}
325
- cmake --build build --config Release --parallel 4
326
+ cmake --build build --config Debug --parallel 4
326
327
ctest --test-dir build --output-on-failure
327
328
working-directory : samples/wasm-c-api
328
329
@@ -350,7 +351,7 @@ jobs:
350
351
llvm_cache_key : ${{ needs.build_llvm_libraries_on_ubuntu_2204.outputs.cache_key }}
351
352
steps :
352
353
- name : checkout
353
- uses : actions/checkout@v3
354
+ uses : actions/checkout@v4
354
355
355
356
- name : download and install wasi-sdk
356
357
run : |
@@ -367,7 +368,7 @@ jobs:
367
368
sudo mv wabt-1.0.31 wabt
368
369
- name : Get LLVM libraries
369
370
id : retrieve_llvm_libs
370
- uses : actions/cache@v3
371
+ uses : actions/cache@v4
371
372
with :
372
373
path : |
373
374
./core/deps/llvm/build/bin
@@ -393,23 +394,23 @@ jobs:
393
394
cd samples/file
394
395
mkdir build && cd build
395
396
cmake ..
396
- cmake --build . --config Release --parallel 4
397
+ cmake --build . --config Debug --parallel 4
397
398
./src/iwasm -f wasm-app/file.wasm -d .
398
399
399
400
- name : Build Sample [multi-thread]
400
401
run : |
401
402
cd samples/multi-thread
402
403
mkdir build && cd build
403
404
cmake ..
404
- cmake --build . --config Release --parallel 4
405
+ cmake --build . --config Debug --parallel 4
405
406
./iwasm wasm-apps/test.wasm
406
407
407
408
- name : Build Sample [multi-module]
408
409
run : |
409
410
cd samples/multi-module
410
411
mkdir build && cd build
411
412
cmake .. -DWAMR_BUILD_AOT=1
412
- cmake --build . --config Release --parallel 4
413
+ cmake --build . --config Debug --parallel 4
413
414
./multi_module mC.wasm
414
415
./multi_module mC.aot
415
416
@@ -418,15 +419,15 @@ jobs:
418
419
cd samples/spawn-thread
419
420
mkdir build && cd build
420
421
cmake ..
421
- cmake --build . --config Release --parallel 4
422
+ cmake --build . --config Debug --parallel 4
422
423
./spawn_thread
423
424
424
425
- name : Build Sample [ref-types]
425
426
run : |
426
427
cd samples/ref-types
427
428
mkdir build && cd build
428
429
cmake ..
429
- cmake --build . --config Release --parallel 4
430
+ cmake --build . --config Debug --parallel 4
430
431
./hello
431
432
432
433
- name : Build Sample [simple]
@@ -441,7 +442,7 @@ jobs:
441
442
cd samples/wasi-threads
442
443
mkdir build && cd build
443
444
cmake ..
444
- cmake --build . --config Release --parallel 4
445
+ cmake --build . --config Debug --parallel 4
445
446
./iwasm wasm-apps/no_pthread.wasm
446
447
447
448
- name : Build Sample [shared-module]
@@ -450,6 +451,12 @@ jobs:
450
451
./build.sh
451
452
./run.sh
452
453
454
+ - name : Build Sample [terminate]
455
+ run : |
456
+ cd samples/terminate
457
+ ./build.sh
458
+ ./run.sh
459
+
453
460
test :
454
461
needs :
455
462
[
@@ -513,7 +520,7 @@ jobs:
513
520
test_option : $SIMD_TEST_OPTIONS
514
521
steps :
515
522
- name : checkout
516
- uses : actions/checkout@v3
523
+ uses : actions/checkout@v4
517
524
518
525
- name : download and install wasi-sdk
519
526
if : matrix.test_option == '$WASI_TEST_OPTIONS'
@@ -548,7 +555,7 @@ jobs:
548
555
- name : Get LLVM libraries
549
556
if : env.USE_LLVM == 'true'
550
557
id : retrieve_llvm_libs
551
- uses : actions/cache@v3
558
+ uses : actions/cache@v4
552
559
with :
553
560
path : |
554
561
./core/deps/llvm/build/bin
@@ -610,7 +617,7 @@ jobs:
610
617
611
618
steps :
612
619
- name : checkout
613
- uses : actions/checkout@v3
620
+ uses : actions/checkout@v4
614
621
615
622
- name : install dependencies
616
623
run : |
@@ -629,7 +636,7 @@ jobs:
629
636
630
637
- name : Cache LLDB
631
638
id : cache-lldb
632
- uses : actions/cache@v3
639
+ uses : actions/cache@v4
633
640
env :
634
641
cache-name : cache-lldb-vscode
635
642
with :
0 commit comments