diff options
author | Zach Hilman <zachhilman@gmail.com> | 2019-11-05 21:37:27 -0500 |
---|---|---|
committer | Zach Hilman <zachhilman@gmail.com> | 2019-11-05 21:37:27 -0500 |
commit | 0c8b6b0351a38f25eeeb0a8faed1a491ab7307cd (patch) | |
tree | 1d67fe4ce19bbfe678d7a0214ecc28cf794efb22 /src/common | |
parent | 9a62f5351a0e7c97410fb295169cb9f1df0abff0 (diff) |
ci: Populate build repository from Azure environment
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/CMakeLists.txt | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/src/common/CMakeLists.txt b/src/common/CMakeLists.txt index 9c6f1c07c2..9b0c3db687 100644 --- a/src/common/CMakeLists.txt +++ b/src/common/CMakeLists.txt @@ -3,17 +3,8 @@ # could affect the result, but much more unlikely than the following files. Keeping a list of files # like this allows for much better caching since it doesn't force the user to recompile binary shaders every update set(VIDEO_CORE "${CMAKE_SOURCE_DIR}/src/video_core") -if (DEFINED ENV{CI}) - if (DEFINED ENV{TRAVIS}) - set(BUILD_REPOSITORY $ENV{TRAVIS_REPO_SLUG}) - set(BUILD_TAG $ENV{TRAVIS_TAG}) - elseif(DEFINED ENV{APPVEYOR}) - set(BUILD_REPOSITORY $ENV{APPVEYOR_REPO_NAME}) - set(BUILD_TAG $ENV{APPVEYOR_REPO_TAG_NAME}) - elseif(DEFINED ENV{AZURE}) - set(BUILD_REPOSITORY $ENV{AZURE_REPO_NAME}) - set(BUILD_TAG $ENV{AZURE_REPO_TAG}) - endif() +if (DEFINED ENV{AZURECIREPO}) + set(BUILD_REPOSITORY $ENV{AZURECIREPO}) endif() if (DEFINED ENV{TITLEBARFORMATIDLE}) set(TITLE_BAR_FORMAT_IDLE $ENV{TITLEBARFORMATIDLE}) |