2019-07-14 01:34:40 +00:00
|
|
|
#!/bin/bash -ex
|
|
|
|
|
|
|
|
mkdir -p "ccache" || true
|
|
|
|
chmod a+x ./.ci/scripts/linux/docker.sh
|
2020-05-08 21:09:29 +00:00
|
|
|
# the UID for the container yuzu user is 1027
|
|
|
|
sudo chown -R 1027 ./
|
2022-07-22 09:36:46 +00:00
|
|
|
|
|
|
|
# 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"
|
2020-05-08 21:09:29 +00:00
|
|
|
sudo chown -R $UID ./
|