Commit Graph

2097 Commits

Author SHA1 Message Date
Luis Ángel San Martín
24a4a7c072 Properly date+revision calculation 2019-08-24 11:11:57 +02:00
Luis Ángel San Martín
b35ab9de3e $(Date:yyMMdd) is only available in powershell tasks 2019-08-24 11:11:57 +02:00
Luis Ángel San Martín
222e1d5370 Try to assign the build number to build_number var using single quotes 2019-08-24 11:11:57 +02:00
Luis Ángel San Martín
251dc92fc4 Use QString for string operations 2019-08-24 11:11:57 +02:00
Luis Ángel San Martín
854b82044d Use += when setting external defines
we don't want to override anything
2019-08-24 11:11:57 +02:00
Luis Ángel San Martín
4aff914db3 More shit 2019-08-24 11:11:57 +02:00
Luis Ángel San Martín
1dc26cdd8f Right format to defines in windows 2019-08-24 11:11:57 +02:00
Luis Ángel San Martín
ed2d870c89 More escaping 2019-08-24 11:11:57 +02:00
Luis Ángel San Martín
4964c1095d More escaping 2019-08-24 11:11:56 +02:00
Luis Ángel San Martín
7ea92a2997 Try hardcoded value 2019-08-24 11:11:56 +02:00
Luis Ángel San Martín
2b87b8eb86 Another try 2019-08-24 11:11:56 +02:00
Luis Ángel San Martín
be63bef284 Try setting the var in the script 2019-08-24 11:11:56 +02:00
Luis Ángel San Martín
1eb8113dd0 We have to use = 2019-08-24 11:11:56 +02:00
Luis Ángel San Martín
aac884869b Try using the scrip environment 2019-08-24 11:11:56 +02:00
Luis Ángel San Martín
fe75199802 Try to pass build number to qmake as define 2019-08-24 11:11:56 +02:00
Luis Ángel San Martín
6778f85de5 I don't know how to define a string using command line 2019-08-24 11:11:56 +02:00
Luis Ángel San Martín
5e0b1a9f1d Use the build number in code 2019-08-24 11:11:55 +02:00
Luis Ángel San Martín
fa0577223e We want a string 2019-08-24 11:11:55 +02:00
Luis Ángel San Martín
816334dfce Pass the build number as a define to qmake 2019-08-24 11:11:55 +02:00
Luis Ángel San Martín
debe3d6b11 Use a better version number 2019-08-24 11:11:55 +02:00
Luis Ángel San Martín
cc197b3ca5 Propagate the exit code if we can't generate the installer
No need to check previous commands, if they fail, iscc will fail for sure.
2019-08-24 11:11:55 +02:00
Luis Ángel San Martín
df6f368015 Pass the build number to the create installer script
Build number can be customized: https://github.com/MicrosoftDocs/vsts-docs/issues/666#issuecomment-386769445
2019-08-24 11:11:55 +02:00
Luis Ángel San Martín
678f9fae77 Add support to include the build number into the windows installer 2019-08-24 11:11:55 +02:00
Luis Ángel San Martín
b4c50ad0b4 Remove x64 specifics if we are building a x86 installer 2019-08-24 11:11:54 +02:00
Luis Ángel San Martín
0e5eb82ed6 ArchitecturesInstallIn64BitMode can't be set conditionally
So we are going to always set it, and remove it with the build script if we are building a x86 installer. I am adding ArchitecturesAllowed too to avoid x64 installs in x86 systems, it will be removed as needed by the build script.
2019-08-24 11:11:54 +02:00
Luis Ángel San Martín
f8756fa745 Pack the styles folder 2019-08-24 11:11:54 +02:00
Luis Ángel San Martín
1b6240b55d Pack Qt5QuickWidgets.dll 2019-08-24 11:11:54 +02:00
Luis Ángel San Martín
6210307ba9 Better artifacts names 2019-08-24 11:11:54 +02:00
Luis Ángel San Martín
7045b7736e Fix tasks 2019-08-24 11:11:54 +02:00
Luis Ángel San Martín
98f3a132be Fix taks names 2019-08-24 11:11:54 +02:00
Luis Ángel San Martín
476ea7fca9 Use separate task names for publishing artifacts in windows 2019-08-24 11:11:54 +02:00
Luis Ángel San Martín
59d8bee763 Add YACReaderLibraryServer to YACReader.pro 2019-08-24 11:11:53 +02:00
Luis Ángel San Martín
5a28b3b1bb Are env vars reset between steps? 2019-08-24 11:11:53 +02:00
Luis Ángel San Martín
6b47b6dc86 Fix comment 2019-08-24 11:11:53 +02:00
Luis Ángel San Martín
9a86fe9cf1 Add an script to create the windows installer automatically 2019-08-24 11:11:53 +02:00
Luis Ángel San Martín
a3e20c58cd Add openssl dependencies for windows 2019-08-24 11:11:53 +02:00
Luis Ángel San Martín
eb5e1e6bc6 Avoid intermediate folders 2019-08-24 11:11:53 +02:00
Luis Ángel San Martín
099da72348 Remove format checking from Linux job, clang-format version installed doesn't work well with our current setup 2019-08-24 11:11:52 +02:00
Luis Ángel San Martín
dad21eb369 Install inno setup and invoke it in a new step to create the installer 2019-08-24 11:11:52 +02:00
Luis Ángel San Martín
ca86bf832d Check format in linux image 2019-08-24 11:11:52 +02:00
Luis Ángel San Martín
1fd0837163 Revert change 2019-08-24 11:11:52 +02:00
Luis Ángel San Martín
ff8c1bcf3f Make a change to break the code format and check that CI is able to detect the problem 2019-08-24 11:11:52 +02:00
Luis Ángel San Martín
17a3202051 Add a step to ensure that the code follows clang format
I tested this in macos so I am adding it to macos build, no need to do the same in all the platforms, but we should move it to linux, it is the job that finishes earlier.
2019-08-24 11:11:52 +02:00
Luis Ángel San Martín
f875e7d304 Disable sort includes in the folders where clang format is disabled
For me this is a bug, DisableFormat should stop any kind of changes.
2019-08-24 11:11:52 +02:00
Luis Ángel San Martín
5055c01372 Use the current version number in the dmg name 2019-08-24 11:11:52 +02:00
Luis Ángel San Martín
54fcb059b1 Bump version number 2019-08-24 11:11:51 +02:00
Luis Ángel San Martín
31e703de7d Add break line deleted by mistake 2019-08-24 11:11:51 +02:00
Luis Ángel San Martín
1a21928cb2 Try to see how the build/source folder looks like in macos 2019-08-24 11:11:51 +02:00
Luis Ángel San Martín
27d4ef1d87 I don't know what kind of format contents uses 2019-08-24 11:11:51 +02:00
Luis Ángel San Martín
dae8be5a63 Try to upload the generated dmg in macos 2019-08-24 11:11:51 +02:00