2019-07-13 21:34:40 -04:00
|
|
|
#!/bin/bash -ex
|
|
|
|
|
|
2022-05-15 02:06:02 +02:00
|
|
|
# SPDX-FileCopyrightText: 2019 yuzu Emulator Project
|
|
|
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
|
|
2019-07-13 21:34:40 -04:00
|
|
|
mkdir -p "ccache" || true
|
|
|
|
|
chmod a+x ./.ci/scripts/windows/docker.sh
|
2020-05-08 15:09:29 -06:00
|
|
|
# the UID for the container yuzu user is 1027
|
|
|
|
|
sudo chown -R 1027 ./
|
2022-07-04 21:21:36 -06:00
|
|
|
docker run -e CCACHE_DIR=/yuzu/ccache -v "$(pwd):/yuzu" -w /yuzu yuzuemu/build-environments:linux-mingw /bin/bash -ex /yuzu/.ci/scripts/windows/docker.sh "$1"
|
2020-05-08 15:09:29 -06:00
|
|
|
sudo chown -R $UID ./
|