Commit Graph

20 Commits

Author SHA1 Message Date
Steven Perron
07f80c4df1
Fix python scripts to work with python3 (#2426)
Updated script to work with python3 and python2.

Added required tools.

We added a section to the readme to mention the tools that are needed to
build and test spirv-tools. For the compiler, the compilers used by the
bots are mentioned.

The bots have been changed. The windows bots will not use python 3.6 for testing. The other bots will still use python 2.7. Both Python2 and Python3 will be tested.

Fixes #2407.
Fixes #1856.
2019-03-06 14:11:01 -05:00
alan-baker
a78fa0978d Set the C++ version to C++11 (#1933)
This reverts commit bfcdc913c4.
2018-09-27 09:44:01 -04:00
Lei Zhang
bfcdc913c4
[ci] Checkout a specific Google Test commit (#1931) 2018-09-26 15:19:54 -04:00
Ehsan Nasiri
6e550f4181 Disable Travis bots, and Appveyor Release bots.
Kokoro bots currently cover all Travis bots:
macos-clang-debug
macos-clang-release
ubuntu-clang-debug
ubuntu-clang-release
ubuntu-gcc-debug
ubuntu-gcc-release
ndk-build
android
check-format

Kokoro bots also cover all Windows Release builds:
windows-VS2013-release
windows-VS2015-release
windows-VS2017-release

Due to a compiler issue on the Kokoro Windows VM, we currently do not
run the Debug build on Kokoro.

Therefore, I am disabling all Travis jobs and the appveyor Release jobs.
2018-07-10 14:16:29 -04:00
Lei Zhang
432dc40412 Appveyor: remove VS2015 configuration to reduce build time
We already have VS2013 and VS2017, which should be good guards.
2018-02-22 15:17:04 -05:00
David Neto
b1c9c4e8c0 Enable Visual Studio 2013 again
Disable use of Effcee and RE2 with MSVC compilers older than Visual
Studio 2015 since RE2 doesn't support them.
2018-02-06 14:40:28 -05:00
Lei Zhang
2fc1221c3d Appveyor: stop testing on VS 2013
re2 requires VS2015 or later since:

97957299d1
2017-12-12 13:27:21 -05:00
David Neto
059fe0822a AppVeyor: Put VS 2017 first
VS 2017 is the newest compiler, with the most interesting feedback.
Place it first so we get its feedback first.
2017-12-12 09:01:20 -05:00
Diego Novillo
1af6c4ad28 Update .appveyor.yml 2017-12-04 22:39:14 -05:00
Lei Zhang
b8aeab82ea Appveyor: use ninja instead of MSBuild 2017-12-01 10:15:05 -05:00
Lei Zhang
0126ad9785 Appveyor: skip building tags 2017-11-15 07:26:34 -05:00
Lei Zhang
919c990c95 Appveyor: Stop testing VS 2013/2015 Debug
VS2017 Debug tests should suffice for intresting Debug cases.
This will save us ~30min of waiting time for each build job.
2017-11-15 07:14:45 -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
651ba75f8e Appveyor: auto deploy build artifacts to GitHub Releases
Pushing a commit to the master branch will trigger a build on
Appveyor. If the build is successful, the artifacts will be
collected and pushed to GitHub Releases, under the "master-tot"
release.
2017-11-09 09:37:26 -05: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
David Neto
65b180f451 Add Appveyor config that uses VS 2017 2017-08-01 11:44:33 -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
Lei Zhang
478d96aac4 Appveyor: also test on Visual Studio 2013. 2016-08-10 12:52:11 -04:00
Lei Zhang
18a263e763 Appveyor: Pull SPIRV-Headers for building and update README link. 2016-06-22 12:12:44 -04:00
Lei Zhang
c7551e1f07 Add Appveyor configuration for Windows build. 2016-05-17 09:48:48 -04:00