mirror of
https://github.com/radareorg/radare2.git
synced 2024-11-23 05:09:43 +00:00
Windows builds include debug information by default ##build
* Use 'call configure.bat release' to make stripped builds * The CI still builds in release mode
This commit is contained in:
parent
740c5fef9f
commit
d9aac6bc66
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@ -301,7 +301,7 @@ jobs:
|
||||
shell: cmd
|
||||
run: |
|
||||
REM preconfigure
|
||||
call configure
|
||||
call configure release
|
||||
call make
|
||||
- name: Test executable
|
||||
# continue-on-error: true
|
||||
|
@ -11,6 +11,10 @@ if "%*" == "static" (
|
||||
set MESON_FLAGS=%MESON_FLAGS% -Dstatic_runtime=true -Dblob=true -Denable_r2r=false -Denable_tests=false
|
||||
)
|
||||
|
||||
if "%*" == "release" (
|
||||
set MESON_FLAGS=%MESON_FLAGS% --buildtype=release
|
||||
)
|
||||
|
||||
set PATH=%CD%\prefix\bin;%PATH%
|
||||
set WORKS=0
|
||||
if EXIST vs (
|
||||
@ -30,7 +34,7 @@ set WORKS=0
|
||||
if EXIST b (
|
||||
meson b %MESON_FLAGS% --reconfigure && set WORKS=1
|
||||
) else (
|
||||
meson b %MESON_FLAGS% --buildtype=release && set WORKS=1
|
||||
meson b %MESON_FLAGS% && set WORKS=1
|
||||
)
|
||||
|
||||
if %WORKS% EQU 1 (
|
||||
|
Loading…
Reference in New Issue
Block a user