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
Luis Ángel San Martín
fb5489e425
Do not assume that create-dmg
is in the dependencies
...
It can be installed using brew
2019-08-24 11:11:51 +02:00
Luis Ángel San Martín
e7061c586c
Update readme file name in script (again)
2019-08-24 11:11:51 +02:00
Luis Ángel San Martín
128313daf5
Update eeadme file name in script
2019-08-24 11:11:51 +02:00
Luis Ángel San Martín
021c1084cb
Make build scripts fail if something goes wrong
2019-08-24 11:11:50 +02:00
Luis Ángel San Martín
15ea33c24b
Setup vs2017 environment and use nmake in windows
2019-08-24 11:11:50 +02:00
Luis Ángel San Martín
5c2e4e24d9
Set the path in the right step
2019-08-24 11:11:50 +02:00
Luis Ángel San Martín
b97f66a4e3
Include Qt bin into PATH
2019-08-24 11:11:50 +02:00
Luis Ángel San Martín
607b7b4d6f
Remove QMAKE_MAC_SDK from all projects
2019-08-24 11:11:50 +02:00
Luis Ángel San Martín
e034a23db9
Update gitignore
2019-08-24 11:11:50 +02:00
Luis Ángel San Martín
bc0d471ca3
Invoke compile script in macos from the right folder
2019-08-24 11:11:50 +02:00
Luis Ángel San Martín
9797051a36
Compile with unarr in Ubuntu for now
2019-08-24 11:11:50 +02:00
Luis Ángel San Martín
1f159e8c51
Use the build script for macos
2019-08-24 11:11:50 +02:00
Luis Ángel San Martín
6bae91e0de
Download p7zip sources for Macos build
2019-08-24 11:11:49 +02:00
Luis Ángel San Martín
8133e244fc
Add auto confirmation for wget installation
2019-08-24 11:11:49 +02:00
Luis Ángel San Martín
fce305b1ab
Install wget as a requisite in Windows
2019-08-24 11:11:49 +02:00
Luis Ángel San Martín
f4d37ccb8a
Get 7zip source code for Windows
2019-08-24 11:11:49 +02:00