Skip to content

Commit 020d998

Browse files
committed
Update AppVeyor for msvc
1 parent bbbe4f6 commit 020d998

1 file changed

Lines changed: 16 additions & 23 deletions

File tree

appveyor.yml

Lines changed: 16 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -14,40 +14,33 @@ install:
1414
- set PATH=%QT%\bin\;C:\Qt\Tools\QtCreator\bin\;%PATH%
1515

1616
before_build:
17-
- dir "C:\Program Files (x86)"
18-
- dir "C:\Program Files (x86)\Microsoft Visual Studio 14.0"
19-
- dir "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC"
2017
- call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" %PLATFORM%
21-
- echo %path%
22-
- dir C:\Qt\5.12
23-
- dir C:\Qt\5.12\msvc2015_64
24-
- dir C:\Qt\5.12\msvc2015_64\bin
2518
- qmake --version
2619
- echo %PLATFORM%
2720
- cd c:\dev\qhexedit
2821
- md build
2922
- cd build
30-
# - qmake -r -spec win32-msvc CONFIG+=x86_64 CONFIG-=debug CONFIG+=release ..\example\qhexedit.pro
3123
- if "%PLATFORM%" EQU "X64" (qmake -r -spec win32-msvc CONFIG+=x86_64 CONFIG-=debug CONFIG+=release ..\example\qhexedit.pro)
3224
- if "%PLATFORM%" EQU "X86" (qmake -r -spec win32-msvc CONFIG+=Win32 CONFIG-=debug CONFIG+=release ..\example\qhexedit.pro)
3325

3426
build_script:
35-
- nmake
36-
- windeployqt.exe release\qhexedit.exe
37-
- makensis ..\deploy.nsi
27+
- nmake
28+
- windeployqt.exe release\qhexedit.exe
29+
- makensis ..\deploy.nsi
30+
- copy QHexEdit.exe QHexEdit_%PLATFORM%.exe
3831

3932
artifacts:
40-
- path: build\QHexEdit.exe
33+
- path: build\QHexEdit_%PLATFORM%.exe
4134

4235
deploy:
43-
description: 'Latest QHexEdit Release'
44-
provider: GitHub
45-
auth_token:
46-
secure: WEV9mRJC/pC2HFqJMXbLzEfBXAHu8aGDFIR8ARSip9n6jDJyCz3KstjSPM4VsgKc
47-
artifact: build\QHexEdit.exe
48-
draft: false
49-
prerelease: false
50-
force_update: true
51-
on:
52-
branch: master # release from master branch only
53-
appveyor_repo_tag: true # deploy on tag push only
36+
description: 'Latest QHexEdit Release'
37+
provider: GitHub
38+
auth_token:
39+
secure: WEV9mRJC/pC2HFqJMXbLzEfBXAHu8aGDFIR8ARSip9n6jDJyCz3KstjSPM4VsgKc
40+
# artifact: build\QHexEdit.exe
41+
draft: false
42+
prerelease: false
43+
force_update: true
44+
# on:
45+
# branch: master # release from master branch only
46+
# appveyor_repo_tag: true # deploy on tag push only

0 commit comments

Comments
 (0)