mirror of
https://gitee.com/openharmony/third_party_vulkan-loader
synced 2024-11-23 07:10:23 +00:00
tests: Use specific version of gtest for CI
This commit is contained in:
parent
5abee6173f
commit
0dac99deab
@ -30,6 +30,9 @@ before_build:
|
||||
- python scripts/update_deps.py --dir=external
|
||||
# Get Google Test
|
||||
- git clone https://github.com/google/googletest.git external/googletest
|
||||
- cd external/googletest
|
||||
- git checkout tags/release-1.8.1
|
||||
- cd %APPVEYOR_BUILD_FOLDER%
|
||||
# Generate build files using CMake for the build step.
|
||||
- echo Generating CMake files for %PLATFORM%
|
||||
- mkdir build
|
||||
|
@ -61,6 +61,9 @@ before_install:
|
||||
python scripts/update_deps.py --dir=external $UPDATE_DEPS_EXTRA_OPTIONS
|
||||
# Get Google Test
|
||||
git clone https://github.com/google/googletest.git external/googletest
|
||||
pushd ${TRAVIS_BUILD_DIR}/external/googletest
|
||||
git checkout tags/release-1.8.1
|
||||
popd
|
||||
fi
|
||||
- |
|
||||
if [[ "$CHECK_FORMAT" == "ON" && "$TRAVIS_PULL_REQUEST" != "false" ]]; then
|
||||
|
2
BUILD.md
2
BUILD.md
@ -81,6 +81,8 @@ To obtain the framework, change your current directory to the top of your
|
||||
Vulkan-Loader repository and run:
|
||||
|
||||
git clone https://github.com/google/googletest.git external/googletest
|
||||
cd external/googletest
|
||||
git checkout tags/release-1.8.1
|
||||
|
||||
before configuring your build with CMake.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user