mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-18 10:56:11 +00:00
Appveyor artifact (#37)
This commit is contained in:
parent
684d42b710
commit
3542f0fd57
@ -24,19 +24,45 @@ install:
|
||||
- cmd: if defined BDIR ( %PYTHON%\python.exe -m pip install meson && COPY %PYTHON%\Scripts\meson.py radare2\meson.py )
|
||||
- cmd: if defined NINJA_URL ( powershell -Command wget %NINJA_URL% -OutFile radare2\ninja.zip && unzip radare2\ninja.zip -d radare2\ )
|
||||
|
||||
# Build r2 and generate sln
|
||||
before_build:
|
||||
- cmd: dir && dir radare2
|
||||
- cmd: cd radare2 && set "PATH=%PYTHON%;%PATH%" && call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x64 && meson.bat --release && sys\meson_install.bat --with-static radare2_dist && cd ..
|
||||
# Required because meson for windows creates .a
|
||||
- cmd: cd radare2\radare2_dist && rename *.a *.lib && cd ..\..
|
||||
# Build r2 and generate sln
|
||||
- cmd: cd radare2 && set "PATH=%PYTHON%;%PATH%" && call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x64 && meson.bat --release --shared && sys\meson_install.bat --with-static dist && cd ..
|
||||
# Build cutter
|
||||
- cmd: set "PATH=%PATH%;%QTDIR%\bin;" && call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x64 && cd src && qmake -tp vc cutter.pro
|
||||
- cmd: dir
|
||||
- cmd: set "PATH=%PATH%;%QTDIR%\bin;" && call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x64 && cd src && qmake -config release -tp vc cutter.pro && cd ..
|
||||
|
||||
# Build config
|
||||
build:
|
||||
project: src\cutter.vcxproj
|
||||
|
||||
after_build:
|
||||
# Install r2
|
||||
- cmd: move radare2\dist cutter
|
||||
- cmd: cd cutter && dir
|
||||
- cmd: for %%v in (*.dll) do echo %%v
|
||||
- cmd: for %%v in (*.dll) do ren %%v lib%%v
|
||||
- cmd: cd ..
|
||||
# Install cutter
|
||||
- cmd: windeployqt src\release\cutter.exe --dir cutter
|
||||
- cmd: move src\release\cutter.exe cutter\
|
||||
- cmd: set "PATH=C:\mingw\bin;C:\mingw\msys\1.0\bin;%PATH%" && zip -r cutter.zip cutter
|
||||
|
||||
# Tests
|
||||
test: off
|
||||
|
||||
# Artifacts
|
||||
artifacts:
|
||||
- path: cutter.zip
|
||||
name: Cutter
|
||||
|
||||
#deploy:
|
||||
# release: cutter-1.0-$(appveyor_build_version)
|
||||
# description: 'Cutter Windows'
|
||||
# provider: GitHub
|
||||
# auth_token:
|
||||
# secure: 2SmsqS2RaX2N5c9UwUcfBwNmMX64FfPAZFShLyxIkZXiC8vLaYCHToWxBYEuWRSk
|
||||
# artifact: Cutter
|
||||
# draft: true
|
||||
# prerelease: true
|
||||
# on:
|
||||
# branch: master
|
||||
# appveyor_repo_tag: false
|
||||
|
2
radare2
2
radare2
@ -1 +1 @@
|
||||
Subproject commit 816a59e45228aca59e943c2b11974a329ad4280e
|
||||
Subproject commit 063509cf702f9286e8bc08be0857af31c6f24248
|
@ -4,28 +4,28 @@ TARGET = cutter
|
||||
|
||||
# The application version
|
||||
VERSION = 1.0
|
||||
|
||||
ICON = img/Enso.icns
|
||||
|
||||
QT += core gui widgets webengine webenginewidgets
|
||||
QT_CONFIG -= no-pkg-config
|
||||
CONFIG += c++11
|
||||
|
||||
# Define the preprocessor macro to get the application version in our application.
|
||||
DEFINES += APP_VERSION=\\\"$$VERSION\\\"
|
||||
|
||||
INCLUDEPATH *= .
|
||||
|
||||
win32 {
|
||||
# Generate debug symbols in release mode
|
||||
QMAKE_CXXFLAGS_RELEASE += -Zi # Compiler
|
||||
QMAKE_LFLAGS_RELEASE += /DEBUG # Linker
|
||||
}
|
||||
|
||||
ICON = img/Enso.icns
|
||||
|
||||
QT += core gui widgets webengine webenginewidgets
|
||||
|
||||
QT_CONFIG -= no-pkg-config
|
||||
|
||||
CONFIG += debug c++11
|
||||
|
||||
# Define the preprocessor macro to get the application version in our application.
|
||||
DEFINES += APP_VERSION=\\\"$$VERSION\\\"
|
||||
|
||||
macx {
|
||||
QMAKE_CXXFLAGS = -mmacosx-version-min=10.7 -std=gnu0x -stdlib=libc++
|
||||
}
|
||||
|
||||
INCLUDEPATH *= .
|
||||
|
||||
unix:exists(/usr/local/include/libr) {
|
||||
INCLUDEPATH += /usr/local/include/libr
|
||||
|
Loading…
Reference in New Issue
Block a user