Commit Graph

26 Commits

Author SHA1 Message Date
Lei Zhang
3b6c4f159c Do not zip and deploy for check formatting 2017-12-05 08:02:33 -05:00
Lei Zhang
adb939656d Go back to root directory 2017-12-05 08:02:33 -05:00
Lei Zhang
235ef34571 Travis CI: add clang-format check
Fixes https://github.com/KhronosGroup/SPIRV-Tools/issues/1029
2017-12-05 08:02:33 -05:00
Diego Novillo
726573a0e5 Change Release builds to Release with debug info on Linux
For Linux builds, we want to add debug information on the generated binary (for timing and profiling purposes).  This patch changes Release builds to RelWithDebInfo.
2017-12-04 16:44:09 -05:00
Lei Zhang
22582fafa4 Travis: mark MacOS builds as optional
MacOS support in Travis is flakey right now. MacOS build jobs
take a long time to start.

We have extensive checks for Linux and Windows, which should give
us confidence.
2017-12-01 13:11:16 -05:00
David Neto
76555bd4ba Tests: Add optional dependency on Effcee stateful matcher
Add Effcee as an optional dependency for use in tests.  In future it will
be a required dependency.

Effcee is a stateful pattern matcher that has much of the functionality
of LLVM's FileCheck, except in library form.  Effcee makes it much easier
to write tests for optimization passes.

Demonstrate its use in a test for the strength-reduction pass.

Update README.md with example commands of how to get sources.

Update Appveyor and Travis-CI build rules.

Also: Include test libraries if not SPIRV_SKIP_TESTS
- SPIRV_SKIP_TESTS is implied by SPIRV_SKIP_EXECUTABLES
2017-11-13 11:34:21 -05:00
Lei Zhang
039c12f096 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 16:01:45 -05:00
Andrey Tuganov
89b6af90e9 Add Android.mk build to Travis CI
Added NDK_LIBS_OUT
2017-10-21 10:58:22 -04:00
Andrey Tuganov
c25b5bea35 Add SPIRV_SPIRV_COMPRESSION option to cmake
The option is off by default.
cmake -DSPIRV_BUILD_COMPRESSION=ON ..
enables the compression lib, executable, and test build.

Fixes https://github.com/KhronosGroup/SPIRV-Tools/issues/834
2017-09-25 14:37:08 -04:00
Lei Zhang
65ea885234 Travis CI: stop requiring sudo and use make instead of ninja
This gives us shorter testing time since we can use the container
based testing environment, which starts faster. Also using make
means we don't need to install ninja separately.
2017-06-28 16:40:12 -04:00
Andrey Tuganov
66fc10564c Bots print output from timed out tests
Timeout set to 300 seconds. If no timeout, then ctest itself will be
timed out and terminated leaving no output.
2017-05-31 10:34:54 -04:00
Andrey Tuganov
e7aff807a0 Fixed misspelled ctest flag --output_on_failure 2017-05-29 13:26:46 -04:00
Lei Zhang
d5e4f06eec Update Travis CI configuration.
* Stop updating brew.
* Shadow clone of dependencies.
* Fix `nproc` on macOS.
2017-01-13 09:53:16 -05:00
David Neto
20b2035f20 Use the default Xcode image on OSX
As of November 2016, the default OSX image is Xcode 7.3.1, which works.
2017-01-05 16:06:31 -05:00
David Neto
e0e4044ffe Update Travis notification emails
Remove deki, add ehsann
2016-12-21 10:33:03 -05:00
Ehsan Nasiri
e6e7bd7d30 No need to install cmake for new osx images.
It seems that the osx image has been updated and already includes ctest.
As a result, all jobs fail with this error:
Error: cmake-3.6.2 already installed
2016-12-02 13:37:31 -05:00
Lei Zhang
860030feab Travis CI: mark build as finished once a job failed. 2016-09-07 11:13:46 -04:00
Lei Zhang
e96a881b0b Travis CI: add build configuration for Android NDK with cmake. 2016-08-24 12:34:33 -04:00
Lei Zhang
df37653333 Travis CI: bump OS X and XCode version. 2016-06-24 17:16:00 -04:00
Lei Zhang
10dba91781 Use SPIR-V headers from the KhronosGroup/SPIRV-Headers repo. 2016-06-10 08:48:37 -04:00
Lei Zhang
6a1e1ac7b9 Travis CI: Use ctest to run all the tests. 2016-05-25 21:02:47 -04:00
Lei Zhang
d0f80fabbc Travis CI: update test binary location and return correct status. 2016-03-17 15:20:22 -04:00
Lei Zhang
02141e53a7 Travis CI: add configuration for testing on Mac OS X. 2016-03-17 11:41:30 -04:00
Lei Zhang
de4a7c7f40 Travis CI: use Ubuntu 14.04 (Trusty) as the Linux environment. 2016-03-16 15:19:37 -04:00
Andrew Woloszyn
383c83729e Since g++-4.9 has an ICE occasionally in travis add a retry.
Try to re-run the build with ninja -j 1 if the build fails,
this should reduce the number of build failures we see.
2016-01-19 16:14:47 -05:00
Lei Zhang
866b6ab9da Add configuration for Travis CI. 2016-01-14 16:38:04 -05:00