Commit graph

17 commits

Author SHA1 Message Date
Marcel Admiraal
aeb1181add Enable Appveyor error on warnings. 2020-05-21 11:28:01 +01:00
Marcel Admiraal
a520e03730 Update .appveyor.yml.
- Set options to be the same as travis builds,
  except use warnings=all instead of warnings=extra.
- Fail on warnings as per travis builds.

(cherry picked from commit 106221a733)

Edited to set `werror=no` until we've fixed all warnings.
2020-05-20 11:30:43 +02:00
RevoluPowered
9aa4648579 Added compilation database support for clang and gcc
This tool is originally from mongodb.

- Updated CPPSUFFIXES to use scons suffixes
- objective-c files will also be loaded into the compilation database where the compiler / tooling is available to compile the files.

Known limitations:

- This will not work with msvc as your compiler.

(cherry picked from commit 5a6f275b74)
2020-05-18 16:40:33 +02:00
Ashesh3
40d8ed023c Better file naming for AppVeyor artifacts
This builds upon https://github.com/godotengine/godot/pull/38625 and improves the file name format as mentioned in https://github.com/godotengine/godot/pull/38189#issuecomment-626585363

The resulting file stored has the name `godot.windows.opt.tools.64-$(VERSION_HASH).zip` where `VERSION_HASH` is obtained from `it rev-parse --short=9 HEAD` , the zip file contains the built exe file.

(cherry picked from commit 4f055c93a5)
2020-05-13 16:11:30 +02:00
Ashesh
df87ae6eb8 Store build as artifact in appveyor
7z is already available in path in appveyor
zip the build .exe files and store them ( appveyor retains for ~6 months)

(cherry picked from commit 7ae70625f3)
2020-05-11 11:25:24 +02:00
Marcel Admiraal
1affc25395 Enable Appveyor cache on 3.2 branch. 2020-02-19 11:53:02 +01:00
Marcel Admiraal
9aa18e8919 Use current versions of software in Appveyor.
Use Visual Studio 2019
Use Python 3.8
Use Scons 3.1.2
2019-12-31 16:38:23 +01:00
Rémi Verschelde
b021bdbf1f AppVeyor: Skip saving cache on non-master branches
Otherwise we run into situations where commits to stable branches
induce very long build times, as they have to basically build from
scratch but also invalidate the cache for future commits on the
master branch.

This commit also makes the cache folder branch-specific, but since
it's still limited to 1 GB of total cache size, we don't enable it
for non-master, as we would still run into issues with non-master
build invalidating the master cache.
2019-07-02 18:30:27 +02:00
Rémi Verschelde
fb47d8f554 AppVeyor: Force installing SCons 3.0.1
3.0.2 was released today and when installed via pip, it seems to be
missing from the PATH.
2019-01-01 23:31:08 +01:00
Rémi Verschelde
e71c20099c CI: Disable debug_symbols on Travis/AppVeyor
Also increase AppVeyor cache size to 1024,
should match what is available for us in the free plan:
https://www.appveyor.com/docs/build-cache/#cache-size-beta

And drop obsolete debug_release option for Windows, superseded
by target=release and debug_symbols=yes.
2018-08-21 12:36:57 +02:00
Rémi Verschelde
79e76d8329 Fix scons installation on AppVeyor
Seems like AppVeyor just upgraded pip and finally removed the
deprecated --egg switch.
2018-05-16 23:01:24 +02:00
Emmanuel Leblond
e7965b0f8a
Add GDnative wrapper lib on CI build 2018-01-04 20:32:12 +01:00
Rhody Lugo
a4a222d62d use the same cache for all branches for appveyor 2017-11-28 03:23:33 -04:00
Rhody Lugo
1272497fec prune scons shared cache 2017-11-27 01:43:10 -04:00
Rhody Lugo
428b6a308e add support for scons cache and enable it for appveyor 2017-11-25 22:15:22 -04:00
Rémi Verschelde
203fed204c CI: Disable MinGW build on Travis and add AppVeyor badge
Now that AppVeyor handles testing Windows builds with MSVC,
we can skip the need to test against Travis' old MinGW toolchain
and have a faster CI process.

Also try building X11 binaries against system OpenSSL, should
speed up build.
2017-09-26 19:34:17 +02:00
Rémi Verschelde
92c34eaf9c Add AppVeyor CI file for MSVC builds
This improves our compiler coverage in our CI builds.
2017-09-26 13:16:37 +02:00