mirror of
https://github.com/flameshot-org/flameshot
synced 2024-10-18 05:42:43 +00:00
236534b17b
* Refactor CMake * Update README.md
48 lines
1.3 KiB
YAML
48 lines
1.3 KiB
YAML
image:
|
|
- Visual Studio 2019
|
|
clone_folder: c:\projects\source
|
|
|
|
environment:
|
|
Qt5_INSTALL_DIR: 'C:\Qt\5.15.2\msvc2019_64'
|
|
PATH: '%Qt5_INSTALL_DIR%\bin;%PATH%'
|
|
|
|
build_script:
|
|
- cmd: >-
|
|
|
|
set QTDIR=%Qt5_INSTALL_DIR%
|
|
|
|
set "VCINSTALLDIR=C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC"
|
|
|
|
set "OPENSSL_ROOT_DIR=C:/OpenSSL-v111-Win64"
|
|
|
|
cmake -S c:\projects\source -B build -G "Visual Studio 16 2019" -DCMAKE_BUILD_TYPE:STRING=Release -DENABLE_OPENSSL=ON -DRUN_IN_PLACE=OFF
|
|
|
|
cmake --build build --parallel 2 --config "Release"
|
|
|
|
cd build
|
|
|
|
cpack -G WIX -B package
|
|
|
|
mkdir artifact
|
|
|
|
cp package/*.msi artifact/.
|
|
|
|
cp src/Release/*.exe artifact/.
|
|
|
|
7z a -tzip artifact.zip artifact/
|
|
|
|
artifacts:
|
|
- path: build\package\*.msi
|
|
name: installer
|
|
- path: build\src\Release\*.exe
|
|
name: executable
|
|
- path: build\artifact.zip
|
|
name: archive
|
|
|
|
deploy:
|
|
- provider: Webhook
|
|
url: https://app.signpath.io/API/v1/042f605f-b378-45d8-ad16-b7695b071036/Integrations/AppVeyor?ProjectSlug=flameshot&SigningPolicySlug=test-signing
|
|
#url: https://app.signpath.io/API/v1/042f605f-b378-45d8-ad16-b7695b071036/Integrations/AppVeyor?ProjectSlug=flameshot&SigningPolicySlug=release-signing
|
|
authorization:
|
|
secure: G5nNnkfRSJ+EEx+7LlUSSoEyoL+pHYItvjrNxbWITE7RB+cm9qzuHRdwmrZdEDjdVCLZ2TkNawynMxYcGMZAQA==
|