Browse Source
Merge pull request #2901 from DarkLordZach/mainline-title-bar
ci: Properly parse Azure CI details in title bar
pull/15/merge
James Rowe
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
5 additions and
0 deletions
-
.ci/templates/build-single.yml
-
src/common/CMakeLists.txt
|
|
|
@ -3,6 +3,8 @@ parameters: |
|
|
|
cache: 'false' |
|
|
|
|
|
|
|
steps: |
|
|
|
- script: export DATE=`date '+%Y.%m.%d'` && export CI=true && AZURE_REPO_NAME=yuzu-emu/yuzu-$(BuildName) && AZURE_REPO_TAG=$(BuildName)-$DATE |
|
|
|
displayName: 'Determine Build Name' |
|
|
|
- task: DockerInstaller@0 |
|
|
|
displayName: 'Prepare Environment' |
|
|
|
inputs: |
|
|
|
|
|
|
|
@ -10,6 +10,9 @@ if (DEFINED ENV{CI}) |
|
|
|
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() |
|
|
|
endif() |
|
|
|
add_custom_command(OUTPUT scm_rev.cpp |
|
|
|
|