Commit Graph

10 Commits

Author SHA1 Message Date
otakuto
d03da06ac1 Remove execute permissions 2018-08-07 03:16:20 +09:00
David Neto
4aeca2df33 NDK build: Use NDK r17b and its own CMake toolchain file
More recent NDK releases have their own CMake toolchain file.
Use it.

Also, download the NDK from github.com:dneto0/android-ndk.
That is a fork of the repo we used to use, but we have more
control over how long it stays stable.
2018-07-12 14:56:29 -04:00
John Kessenich
b75c7065cc Travis CI: Fix comments disabling code. 2018-07-12 11:37:09 -06:00
David Neto
3541d8a5a0 Travis-CI: Use Android NDK r13b specifically
The Travis-CI bot downloads a copy of the Android NDK.  The source
we get it from recently updated to Android NDK r17b.  However,
the android.toolchain.cmake file does not know how to parse the
Android native API level from that version of the NDK.  So check
out the NDK r13b version that we were using until yesterday.

Fixes #1439
2018-07-12 12:02:26 -04:00
Lei Zhang
fba299a25b Travis: auto deploy build artifacts to GitHub Releases
Pushing a commit to the master branch will trigger a build on
Travis. If the build is successful, the artifacts will be
collected and pushed to GitHub Releases, under the "master-tot"
release.
2017-11-09 15:12:09 -05:00
GregF
f451756d82 Fix travis and appveyor calls to update_glslang_sources.py 2017-09-27 15:19:28 -06:00
GregF
cd1f169c6a Enable HLSL legalization
Also added known-good mechanism to fetch latest validated spirv-tools.
Also added -Od and -Os to disable optimizer and optimize for size.

Fetching spirv-tools is optional for both glsl and hlsl. Legalization
of hlsl is done by default if spirv-opt is present at cmake time.
Optimization for glsl is currently done through the option -Os.

Legalization testing is currently only done on four existing shaders.
A separate baseLegalResults directory holds those results. All previous
testing is done with the optimizer disabled.
2017-09-27 15:06:05 -06:00
Lei Zhang
afa128a8df Travis: use make instead of ninja and limit concurrent jobs 2017-09-25 14:04:51 -04:00
Lei Zhang
b21213e893 Check Android build on Travis CI.
Also stop requiring sudo privilege so that we can use containers
for testing.
2017-05-13 17:48:19 -04:00
Lei Zhang
c4ebb55347 Add configuration for Travis to test on Linux and Mac OS X. 2016-05-04 11:55:10 -04:00