aboutsummaryrefslogtreecommitdiff
path: root/.ci/scripts/clang/exec.sh
blob: a213aac27cc80f113ad5313a4c5ac74b448295a2 (plain) (blame)
1
2
3
4
5
6
7
8
#!/bin/bash -ex

mkdir -p "ccache"  || true
chmod a+x ./.ci/scripts/clang/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/clang/docker.sh "$1"
sudo chown -R $UID ./