summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorGravatar bunnei2019-11-06 10:08:27 -0500
committerGravatar GitHub2019-11-06 10:08:27 -0500
commit4d66ca97e5e0b5d57b0be3e0f4a82d5535b8270b (patch)
treee5e0a5ed444320b6b71f03b6f5612556dc8fa069 /src/common
parentMerge pull request #3062 from bunnei/event-improve (diff)
parentci: Populate build repository from Azure environment (diff)
downloadyuzu-4d66ca97e5e0b5d57b0be3e0f4a82d5535b8270b.tar.gz
yuzu-4d66ca97e5e0b5d57b0be3e0f4a82d5535b8270b.tar.xz
yuzu-4d66ca97e5e0b5d57b0be3e0f4a82d5535b8270b.zip
Merge pull request #3076 from DarkLordZach/telem-names
ci: Populate build repository from Azure environment
Diffstat (limited to 'src/common')
-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})