Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
glslang
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
glslang
Commits
c4ebb553
Commit
c4ebb553
authored
May 04, 2016
by
Lei Zhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add configuration for Travis to test on Linux and Mac OS X.
parent
34fb036a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
62 additions
and
0 deletions
+62
-0
.travis.yml
.travis.yml
+60
-0
README.md
README.md
+2
-0
No files found.
.travis.yml
0 → 100644
View file @
c4ebb553
# Linux and Mac Build Configuration for Travis
language
:
cpp
os
:
-
linux
-
osx
# Use Ubuntu 14.04 LTS (Trusty) as the Linux testing environment.
sudo
:
required
dist
:
trusty
env
:
-
GLSLANG_BUILD_TYPE=Release
-
GLSLANG_BUILD_TYPE=Debug
compiler
:
-
clang
-
gcc
matrix
:
fast_finish
:
true
# Show final status immediately if a test fails.
exclude
:
# Skip GCC builds on Mac OS X.
-
os
:
osx
compiler
:
gcc
cache
:
apt
:
true
branches
:
only
:
-
master
addons
:
apt
:
packages
:
-
clang-3.6
-
ninja-build
install
:
# Install ninja on Mac OS X.
-
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update && brew install ninja; fi
# Make sure that clang-3.6 is selected.
-
if [[ "$TRAVIS_OS_NAME" == "linux" && "$CC" == "clang" ]]; then
export CC=clang-3.6 CXX=clang++-3.6;
fi
before_script
:
-
git clone https://github.com/google/googletest.git External/googletest
script
:
-
mkdir build && cd build
# We need to install the compiled binaries so the paths in the runtests script can resolve correctly.
-
cmake -GNinja -DCMAKE_BUILD_TYPE=${GLSLANG_BUILD_TYPE} -DCMAKE_INSTALL_PREFIX=`pwd`/install ..
-
ninja install
# Run Google-Test-based tests.
-
ctest --output-on-failure
# Run runtests-based tests.
-
cd ../Test && ./runtests
README.md
View file @
c4ebb553
...
@@ -8,6 +8,8 @@ regarding the feature level of glslang.
...
@@ -8,6 +8,8 @@ regarding the feature level of glslang.
glslang
glslang
=======
=======
[

](https://travis-ci.org/KhronosGroup/glslang)
An OpenGL and OpenGL ES shader front end and validator.
An OpenGL and OpenGL ES shader front end and validator.
There are two components:
There are two components:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment