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