@@ -83,13 +83,13 @@ jobs:
83
83
llvm_cache_key : ${{ needs.build_llvm_libraries_on_ubuntu_2204.outputs.cache_key }}
84
84
steps :
85
85
- name : checkout
86
- uses : actions/checkout@v3
86
+ uses : actions/checkout@v4
87
87
88
88
# since jobs.id can't contain the dot character
89
89
# it is hard to use `format` to assemble the cache key
90
90
- name : Get LLVM libraries
91
91
id : retrieve_llvm_libs
92
- uses : actions/cache@v3
92
+ uses : actions/cache@v4
93
93
with :
94
94
path : |
95
95
./core/deps/llvm/build/bin
@@ -143,6 +143,7 @@ jobs:
143
143
" -DWAMR_BUILD_SIMD=1" ,
144
144
" -DWAMR_BUILD_TAIL_CALL=1" ,
145
145
" -DWAMR_DISABLE_HW_BOUND_CHECK=1" ,
146
+ " -DWAMR_ENABLE_SHARED_MEMORY_MMAP=1" ,
146
147
]
147
148
os : [ubuntu-22.04]
148
149
platform : [android, linux]
@@ -211,13 +212,13 @@ jobs:
211
212
llvm_cache_key : ${{ needs.build_llvm_libraries_on_ubuntu_2204.outputs.cache_key }}
212
213
steps :
213
214
- name : checkout
214
- uses : actions/checkout@v3
215
+ uses : actions/checkout@v4
215
216
216
217
# only download llvm cache when needed
217
218
- name : Get LLVM libraries
218
219
id : retrieve_llvm_libs
219
220
if : endsWith(matrix.make_options_run_mode, '_JIT_BUILD_OPTIONS')
220
- uses : actions/cache@v3
221
+ uses : actions/cache@v4
221
222
with :
222
223
path : |
223
224
./core/deps/llvm/build/bin
@@ -282,12 +283,12 @@ jobs:
282
283
283
284
steps :
284
285
- name : checkout
285
- uses : actions/checkout@v3
286
+ uses : actions/checkout@v4
286
287
287
288
- name : Get LLVM libraries
288
289
id : retrieve_llvm_libs
289
290
if : (!endsWith(matrix.make_options, '_INTERP_BUILD_OPTIONS'))
290
- uses : actions/cache@v3
291
+ uses : actions/cache@v4
291
292
with :
292
293
path : |
293
294
./core/deps/llvm/build/bin
@@ -320,7 +321,7 @@ jobs:
320
321
run : |
321
322
VERBOSE=1
322
323
cmake -S . -B build ${{ matrix.make_options }}
323
- cmake --build build --config Release --parallel 4
324
+ cmake --build build --config Debug --parallel 4
324
325
ctest --test-dir build --output-on-failure
325
326
working-directory : samples/wasm-c-api
326
327
@@ -348,7 +349,7 @@ jobs:
348
349
llvm_cache_key : ${{ needs.build_llvm_libraries_on_ubuntu_2204.outputs.cache_key }}
349
350
steps :
350
351
- name : checkout
351
- uses : actions/checkout@v3
352
+ uses : actions/checkout@v4
352
353
353
354
- name : download and install wasi-sdk
354
355
run : |
@@ -365,7 +366,7 @@ jobs:
365
366
sudo mv wabt-1.0.31 wabt
366
367
- name : Get LLVM libraries
367
368
id : retrieve_llvm_libs
368
- uses : actions/cache@v3
369
+ uses : actions/cache@v4
369
370
with :
370
371
path : |
371
372
./core/deps/llvm/build/bin
@@ -391,23 +392,23 @@ jobs:
391
392
cd samples/file
392
393
mkdir build && cd build
393
394
cmake ..
394
- cmake --build . --config Release --parallel 4
395
+ cmake --build . --config Debug --parallel 4
395
396
./src/iwasm -f wasm-app/file.wasm -d .
396
397
397
398
- name : Build Sample [multi-thread]
398
399
run : |
399
400
cd samples/multi-thread
400
401
mkdir build && cd build
401
402
cmake ..
402
- cmake --build . --config Release --parallel 4
403
+ cmake --build . --config Debug --parallel 4
403
404
./iwasm wasm-apps/test.wasm
404
405
405
406
- name : Build Sample [multi-module]
406
407
run : |
407
408
cd samples/multi-module
408
409
mkdir build && cd build
409
410
cmake .. -DWAMR_BUILD_AOT=1
410
- cmake --build . --config Release --parallel 4
411
+ cmake --build . --config Debug --parallel 4
411
412
./multi_module mC.wasm
412
413
./multi_module mC.aot
413
414
@@ -416,23 +417,23 @@ jobs:
416
417
cd samples/spawn-thread
417
418
mkdir build && cd build
418
419
cmake ..
419
- cmake --build . --config Release --parallel 4
420
+ cmake --build . --config Debug --parallel 4
420
421
./spawn_thread
421
422
422
423
- name : Build Sample [ref-types]
423
424
run : |
424
425
cd samples/ref-types
425
426
mkdir build && cd build
426
427
cmake ..
427
- cmake --build . --config Release --parallel 4
428
+ cmake --build . --config Debug --parallel 4
428
429
./hello
429
430
430
431
- name : Build Sample [wasi-threads]
431
432
run : |
432
433
cd samples/wasi-threads
433
434
mkdir build && cd build
434
435
cmake ..
435
- cmake --build . --config Release --parallel 4
436
+ cmake --build . --config Debug --parallel 4
436
437
./iwasm wasm-apps/no_pthread.wasm
437
438
438
439
- name : Build Sample [shared-module]
@@ -441,6 +442,12 @@ jobs:
441
442
./build.sh
442
443
./run.sh
443
444
445
+ - name : Build Sample [terminate]
446
+ run : |
447
+ cd samples/terminate
448
+ ./build.sh
449
+ ./run.sh
450
+
444
451
test :
445
452
needs :
446
453
[
@@ -504,7 +511,7 @@ jobs:
504
511
test_option : $SIMD_TEST_OPTIONS
505
512
steps :
506
513
- name : checkout
507
- uses : actions/checkout@v3
514
+ uses : actions/checkout@v4
508
515
509
516
- name : download and install wasi-sdk
510
517
if : matrix.test_option == '$WASI_TEST_OPTIONS'
@@ -539,7 +546,7 @@ jobs:
539
546
- name : Get LLVM libraries
540
547
if : env.USE_LLVM == 'true'
541
548
id : retrieve_llvm_libs
542
- uses : actions/cache@v3
549
+ uses : actions/cache@v4
543
550
with :
544
551
path : |
545
552
./core/deps/llvm/build/bin
@@ -601,7 +608,7 @@ jobs:
601
608
602
609
steps :
603
610
- name : checkout
604
- uses : actions/checkout@v3
611
+ uses : actions/checkout@v4
605
612
606
613
- name : install dependencies
607
614
run : |
@@ -620,7 +627,7 @@ jobs:
620
627
621
628
- name : Cache LLDB
622
629
id : cache-lldb
623
- uses : actions/cache@v3
630
+ uses : actions/cache@v4
624
631
env :
625
632
cache-name : cache-lldb-vscode
626
633
with :
0 commit comments