summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar Zach Hilman2019-11-05 21:37:27 -0500
committerGravatar Zach Hilman2019-11-05 21:37:27 -0500
commit0c8b6b0351a38f25eeeb0a8faed1a491ab7307cd (patch)
tree1d67fe4ce19bbfe678d7a0214ecc28cf794efb22 /src
parentMerge pull request #3073 from DarkLordZach/azure-rename-partial (diff)
downloadyuzu-0c8b6b0351a38f25eeeb0a8faed1a491ab7307cd.tar.gz
yuzu-0c8b6b0351a38f25eeeb0a8faed1a491ab7307cd.tar.xz
yuzu-0c8b6b0351a38f25eeeb0a8faed1a491ab7307cd.zip
ci: Populate build repository from Azure environment
Diffstat (limited to 'src')
-rw-r--r--src/common/CMakeLists.txt13
1 files changed, 2 insertions, 11 deletions
diff --git a/src/common/CMakeLists.txt b/src/common/CMakeLists.txt
index 9c6f1c07c..9b0c3db68 100644
--- a/src/common/CMakeLists.txt
+++ b/src/common/CMakeLists.txt
@@ -3,17 +3,8 @@
3# could affect the result, but much more unlikely than the following files. Keeping a list of files 3# could affect the result, but much more unlikely than the following files. Keeping a list of files
4# like this allows for much better caching since it doesn't force the user to recompile binary shaders every update 4# like this allows for much better caching since it doesn't force the user to recompile binary shaders every update
5set(VIDEO_CORE "${CMAKE_SOURCE_DIR}/src/video_core") 5set(VIDEO_CORE "${CMAKE_SOURCE_DIR}/src/video_core")
6if (DEFINED ENV{CI}) 6if (DEFINED ENV{AZURECIREPO})
7 if (DEFINED ENV{TRAVIS}) 7 set(BUILD_REPOSITORY $ENV{AZURECIREPO})
8 set(BUILD_REPOSITORY $ENV{TRAVIS_REPO_SLUG})
9 set(BUILD_TAG $ENV{TRAVIS_TAG})
10 elseif(DEFINED ENV{APPVEYOR})
11 set(BUILD_REPOSITORY $ENV{APPVEYOR_REPO_NAME})
12 set(BUILD_TAG $ENV{APPVEYOR_REPO_TAG_NAME})
13 elseif(DEFINED ENV{AZURE})
14 set(BUILD_REPOSITORY $ENV{AZURE_REPO_NAME})
15 set(BUILD_TAG $ENV{AZURE_REPO_TAG})
16 endif()
17endif() 8endif()
18if (DEFINED ENV{TITLEBARFORMATIDLE}) 9if (DEFINED ENV{TITLEBARFORMATIDLE})
19 set(TITLE_BAR_FORMAT_IDLE $ENV{TITLEBARFORMATIDLE}) 10 set(TITLE_BAR_FORMAT_IDLE $ENV{TITLEBARFORMATIDLE})