Lines Matching +full:vulkan +full:- +full:loader

2 # https://travis-ci.org
12 - env: CHECK_COMMIT_FORMAT=ON
15 - os: linux
17 env: VULKAN_BUILD_TARGET=ANDROID ANDROID_TARGET=android-26 ANDROID_ABI=armeabi-v7a
18 # Android 64-bit build.
19 - os: linux
21 env: VULKAN_BUILD_TARGET=ANDROID ANDROID_TARGET=android-26 ANDROID_ABI=arm64-v8a
23 - os: linux
27 - os: linux
31 - env: CHECK_FORMAT=ON
33 - env: CHECK_COMMIT_FORMAT=ON
37 # Use set -e so that the build fails when a command fails.
38 # The default action for Travis-CI is to continue running even if a command fails.
39 # See https://github.com/travis-ci/travis-ci/issues/1066.
43 - set -e
44 - |
47 sudo apt-get -qq update
48 sudo apt-get -y install libxkbcommon-dev libwayland-dev libmirclient-dev libxrandr-dev \
49 libx11-xcb-dev libxcb-keysyms1 libxcb-keysyms1-dev libxcb-ewmh-dev \
50 libxcb-randr0-dev
52 - |
55 export ARCH=`uname -m`
56 wget http://dl.google.com/android/repository/android-ndk-r18b-linux-${ARCH}.zip
57 unzip -u -q android-ndk-r18b-linux-${ARCH}.zip
58 export ANDROID_NDK_HOME=`pwd`/android-ndk-r18b
59 export JAVA_HOME="/usr/lib/jvm/java-8-oracle"
62 - |
65 curl -L http://llvm.org/svn/llvm-project/cfe/trunk/tools/clang-format/clang-format-diff.py \
66 -o scripts/clang-format-diff.py;
69 - export core_count=$(nproc || echo 4) && echo core_count = $core_count
70 - ccache --zero-stats
71 - set +e
74 - set -e
75 - |
77 # Build all dependencies for Vulkan-ValidationLayers
80 ${TRAVIS_BUILD_DIR}/scripts/update_deps.py --dir=${TRAVIS_BUILD_DIR}/external --ref=master
82 ${TRAVIS_BUILD_DIR}/scripts/update_deps.py --dir=${TRAVIS_BUILD_DIR}/external
85 - |
91 git checkout tags/release-1.8.1
94 - |
96 # Build Vulkan-ValidationLayers
100 cmake -C ${TRAVIS_BUILD_DIR}/external/helper.cmake -DCMAKE_BUILD_TYPE=Debug \
101 -DCMAKE_INSTALL_PREFIX=${TRAVIS_BUILD_DIR}/build/install -DUSE_CCACHE=ON ..
102 cmake --build . --target install -- -j$core_count
104 - |
107 …# Note: VulkanTools has a build dependency on Vulkan-ValidationLayers so it must be built after V-
112 cmake -DCMAKE_BUILD_TYPE=Debug \
113 -DVULKAN_HEADERS_INSTALL_DIR=${TRAVIS_BUILD_DIR}/external/Vulkan-Headers/build/install \
114 -DVULKAN_LOADER_INSTALL_DIR=${TRAVIS_BUILD_DIR}/external/Vulkan-Loader/build/install \
115 -DVULKAN_VALIDATIONLAYERS_INSTALL_DIR=${TRAVIS_BUILD_DIR}/build/install \
117 cmake --build . -- -j $core_count
120 - |
124 … export LD_LIBRARY_PATH=${TRAVIS_BUILD_DIR}/external/Vulkan-Loader/install/lib:${LD_LIBRARY_PATH}
126 … export VK_ICD_FILENAMES=${TRAVIS_BUILD_DIR}/external/Vulkan-Tools/build/icd/VkICD_mock_icd.json
131 VK_DEVSIM_FILENAME=$profile build/tests/vk_layer_validation_tests --devsim
134 - |
136 pushd build-android
137 ./update_external_sources_android.sh --abi $ANDROID_ABI --no-build
138 ./android-generate.sh
139 USE_CCACHE=1 NDK_CCACHE=ccache ndk-build APP_ABI=$ANDROID_ABI -j $core_count
142 - |
147 …echo "Checking clang-format between TRAVIS_BRANCH=$TRAVIS_BRANCH and TRAVIS_PULL_REQUEST_BRANCH=$T…
150 echo "Skipping clang-format check since this is not a pull request."
153 - |
160 - ccache --show-stats
161 - set +e
166 - karl@lunarg.com
167 - cnorthrop@google.com
168 - tobine@google.com
169 - chrisforbes@google.com
170 - shannon@lunarg.com