Luis Ángel San Martín
7e19dc8e6a
Update azure pipelines to work on forked repos
...
Use macos catalina too
2020-04-09 18:17:17 +02:00
Felix Kauselmann
d74d1c52ef
Windows: Use Qt 5.12.6 for CI builds
2019-11-20 15:57:35 +00:00
Felix Kauselmann
bc34ff0448
Azure pipelines: rename 'arquitecture' to 'architecture'
2019-11-20 15:57:35 +00:00
Luis Ángel San Martín
c9dd62de47
Remove TODO
2019-09-27 10:44:39 +02:00
Luis Ángel San Martín
122806b0e3
Booleans are True/False in azure pipelines
...
We need lower case
2019-09-18 23:26:55 +02:00
Luis Ángel San Martín
9b994bbf1e
If PRs come from a fork do not codesign macos apps
...
It fails in Azure Pipelines due to security reasons
2019-09-18 22:21:05 +02:00
Luis Ángel San Martín
f04bb93a42
Extract code format validation to its own job
...
It makes no sense to start building things if code validation is going to fail.
2019-09-18 21:51:01 +02:00
Luis Ángel San Martín
c2ef314be2
Disable adding a changelog based on commits
...
It is too verbose.
2019-09-16 21:51:02 +02:00
Luis Ángel San Martín
16bbb9ab48
Do releases only when merging into master
2019-09-16 21:43:51 +02:00
Luis Ángel San Martín
a89e197add
Artifacts in $(Build.ArtifactStagingDirectory) should be automatically uploaded
...
So downloading the artifacts to that folder and then flatten it should get the files ready to be uploaded
2019-09-16 20:49:18 +02:00
Luis Ángel San Martín
eb0f4555ad
Use VERSION var properly
2019-09-16 20:47:51 +02:00
Luis Ángel San Martín
7b9d41911f
Try to create a tag associated to the release
...
I don't know if it is possible or the tag needs to exists in advance.
2019-09-16 19:10:02 +02:00
Luis Ángel San Martín
012b97642b
Fix condition
2019-09-16 17:58:23 +02:00
Luis Ángel San Martín
58e4a255a4
Disable branch check for releases
2019-09-16 17:56:50 +02:00
Luis Ángel San Martín
78b2d5f3da
Use a new connection
2019-09-16 17:23:07 +02:00
Luis Ángel San Martín
6e8fe27fbc
Try to do a release to github
2019-09-16 17:16:17 +02:00
Luis Ángel San Martín
3523fcd12e
Use the right branch name for develop
2019-09-11 23:45:59 +02:00
Luis Ángel San Martín
5a52382d1f
Only upload dev builds from develop branch
2019-09-11 19:29:28 +02:00
Luis Ángel San Martín
e0d4a5f987
Add win dependencies again
2019-09-11 18:32:34 +02:00
Luis Ángel San Martín
359be4c644
Default is not a valid pool
2019-09-11 17:17:53 +02:00
Luis Ángel San Martín
386ca2d82b
Try to calculate the build number only once
2019-09-11 17:10:32 +02:00
Luis Ángel San Martín
6d44e30737
Try other pattern
2019-09-11 17:06:47 +02:00
Luis Ángel San Martín
35089493c7
Publish uploaded files
2019-09-11 16:20:20 +02:00
Luis Ángel San Martín
1b95fe3cd8
Upload only files
...
I don't know if there is a better pattern to define files only
2019-09-11 16:14:04 +02:00
Luis Ángel San Martín
3db3908d8c
Change default remote path
2019-09-11 16:07:43 +02:00
Luis Ángel San Martín
14b3ec02ca
Disable windows builds dependencies for now
...
installing qt is failing I think
2019-09-11 14:09:13 +02:00
Luis Ángel San Martín
1dec3ad286
** as fnmatch should be enough
2019-09-11 13:59:55 +02:00
Luis Ángel San Martín
08d94be48a
Try to upload all files to bintray
2019-09-11 13:58:15 +02:00
Luis Ángel San Martín
f382aab6dd
remove branch condition for now
2019-09-11 11:08:33 +02:00
Luis Ángel San Martín
17a6de82ad
dependsOn is an array
2019-09-11 10:48:49 +02:00
Luis Ángel San Martín
6c3b04ec65
Create a job to upload dev builds
...
For now it will try to download all the artifacts to $(Build.SourcesDirectory)/dev_bin
2019-09-11 10:44:44 +02:00
Luis Ángel San Martín
a9aea3b249
Fix tarball CopyFiles@2
2019-09-08 13:57:09 +02:00
Luis Ángel San Martín
d66ab77a2b
🤦
2019-09-08 13:33:34 +02:00
Luis Ángel San Martín
e1b5022d84
Try to create tarball from the right folder
2019-09-08 13:07:51 +02:00
Luis Ángel San Martín
f6d2dff10a
Create the src tarball and upload it as an artifact
2019-09-08 12:57:30 +02:00
Luis Ángel San Martín
ab677f8f2a
Fix jobs names
2019-09-07 15:56:08 +02:00
Luis Ángel San Martín
44e9c7b4c9
parameters
was missing
2019-09-07 15:56:08 +02:00
Luis Ángel San Martín
8cea419606
Pass parameters as strings
2019-09-07 15:56:08 +02:00
Luis Ángel San Martín
c2ac79b454
Use a template for building 32 and 64 bit binaries for windows
2019-09-07 15:56:08 +02:00
Luis Ángel San Martín
3a37d85202
typo
2019-09-01 15:31:00 +02:00
Luis Ángel San Martín
e826667657
I think that $(P12Password)
can't be found
2019-09-01 15:29:10 +02:00
Luis Ángel San Martín
7d67a79e26
codesign apps and dmg in macos
2019-09-01 14:57:45 +02:00
Luis Ángel San Martín
56e8c2248d
Override node
2019-09-01 11:56:49 +02:00
Luis Ángel San Martín
be83690d52
try to install node from brew
...
not sure if this will override the current installation of node
2019-09-01 11:51:00 +02:00
Luis Ángel San Martín
30c5b0d904
Use appdmg instead of create-dmg
2019-09-01 11:27:45 +02:00
Luis Ángel San Martín
54a317c171
* is reservated by yaml
2019-08-24 11:11:58 +02:00
Luis Ángel San Martín
b5decc60e8
Add the build number to macos build script
2019-08-24 11:11:58 +02:00
Luis Ángel San Martín
be25613a98
Add the build number to the artifact names
2019-08-24 11:11:58 +02:00
Luis Ángel San Martín
1af46ac274
Use PublishPipelineArtifact instead of PublishBuildArtifacts
2019-08-24 11:11:58 +02:00
Luis Ángel San Martín
872ce51d52
Pass the actual build number
2019-08-24 11:11:58 +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
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
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
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
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
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
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
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
5055c01372
Use the current version number in the dmg name
2019-08-24 11:11:52 +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
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
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
Luis Ángel San Martín
b0eb577b5b
Fix aqt invocation
2019-08-24 11:11:49 +02:00
Luis Ángel San Martín
6f02d4e927
Add jobs for all the supported platforms
2019-08-24 11:11:49 +02:00
Luis Ángel San Martín
5d31bdeac5
Set up CI with Azure Pipelines
...
[skip ci]
2019-08-24 11:11:49 +02:00