mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-05-13 21:21:22 +00:00
Enable source debugger CI on windows and darwin (#912)
This commit is contained in:
parent
ccb2de35d7
commit
ac3f7dcc0e
|
@ -230,8 +230,6 @@ jobs:
|
||||||
# uncompatiable feature and platform
|
# uncompatiable feature and platform
|
||||||
- os: macos-latest
|
- os: macos-latest
|
||||||
make_options_feature: "-DWAMR_BUILD_DEBUG_AOT=1"
|
make_options_feature: "-DWAMR_BUILD_DEBUG_AOT=1"
|
||||||
- os: macos-latest
|
|
||||||
make_options_feature: "-DWAMR_BUILD_DEBUG_INTERP=1"
|
|
||||||
# uncompatiable mode and feature
|
# uncompatiable mode and feature
|
||||||
# MULTI_MODULE only on INTERP mode
|
# MULTI_MODULE only on INTERP mode
|
||||||
- make_options_run_mode: $JIT_BUILD_OPTIONS
|
- make_options_run_mode: $JIT_BUILD_OPTIONS
|
||||||
|
|
7
.github/workflows/compilation_on_windows.yml
vendored
7
.github/workflows/compilation_on_windows.yml
vendored
|
@ -104,3 +104,10 @@ jobs:
|
||||||
cmake .. -DWAMR_BUILD_SIMD=1
|
cmake .. -DWAMR_BUILD_SIMD=1
|
||||||
cmake --build . --config Release --parallel 4
|
cmake --build . --config Release --parallel 4
|
||||||
cd .. && rm -force -r build
|
cd .. && rm -force -r build
|
||||||
|
- name: Build iwasm [source debugger]
|
||||||
|
run: |
|
||||||
|
cd product-mini/platforms/windows
|
||||||
|
mkdir build && cd build
|
||||||
|
cmake .. -DWAMR_BUILD_DEBUG_INTERP=1
|
||||||
|
cmake --build . --config Release --parallel 4
|
||||||
|
cd .. && rm -force -r build
|
||||||
|
|
|
@ -83,6 +83,17 @@ if (NOT DEFINED WAMR_BUILD_SIMD)
|
||||||
set (WAMR_BUILD_SIMD 1)
|
set (WAMR_BUILD_SIMD 1)
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
|
if (NOT DEFINED WAMR_BUILD_DEBUG_INTERP)
|
||||||
|
# Disable Debug feature by default
|
||||||
|
set (WAMR_BUILD_DEBUG_INTERP 0)
|
||||||
|
endif ()
|
||||||
|
|
||||||
|
if (WAMR_BUILD_DEBUG_INTERP EQUAL 1)
|
||||||
|
set (WAMR_BUILD_FAST_INTERP 0)
|
||||||
|
set (WAMR_BUILD_MINI_LOADER 0)
|
||||||
|
set (WAMR_BUILD_SIMD 0)
|
||||||
|
endif ()
|
||||||
|
|
||||||
if (COLLECT_CODE_COVERAGE EQUAL 1)
|
if (COLLECT_CODE_COVERAGE EQUAL 1)
|
||||||
set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fprofile-arcs -ftest-coverage")
|
set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fprofile-arcs -ftest-coverage")
|
||||||
endif ()
|
endif ()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user