Browse Source
Merge pull request #8625 from Docteh/ado_titlebar
ci: pass environment variables to linux docker (AppImage)
pull/15/merge
liamwhite
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
6 additions and
1 deletions
-
.ci/scripts/linux/exec.sh
|
|
|
@ -4,5 +4,10 @@ mkdir -p "ccache" || true |
|
|
|
chmod a+x ./.ci/scripts/linux/docker.sh |
|
|
|
# the UID for the container yuzu user is 1027 |
|
|
|
sudo chown -R 1027 ./ |
|
|
|
docker run -e ENABLE_COMPATIBILITY_REPORTING -e CCACHE_DIR=/yuzu/ccache -v "$(pwd):/yuzu" -w /yuzu yuzuemu/build-environments:linux-fresh /bin/bash /yuzu/.ci/scripts/linux/docker.sh "$1" |
|
|
|
|
|
|
|
# The environment variables listed below: |
|
|
|
# AZURECIREPO TITLEBARFORMATIDLE TITLEBARFORMATRUNNING DISPLAYVERSION |
|
|
|
# are requested in src/common/CMakeLists.txt and appear to be provided somewhere in Azure DevOps |
|
|
|
|
|
|
|
docker run -e AZURECIREPO -e TITLEBARFORMATIDLE -e TITLEBARFORMATRUNNING -e DISPLAYVERSION -e ENABLE_COMPATIBILITY_REPORTING -e CCACHE_DIR=/yuzu/ccache -v "$(pwd):/yuzu" -w /yuzu yuzuemu/build-environments:linux-fresh /bin/bash /yuzu/.ci/scripts/linux/docker.sh "$1" |
|
|
|
sudo chown -R $UID ./ |