suyu/.ci/scripts/windows/exec.sh
2024-03-06 00:19:07 +03:30

12 lines
432 B
Bash

#!/bin/bash -ex
# SPDX-FileCopyrightText: 2019 suyu Emulator Project
# SPDX-License-Identifier: GPL-2.0-or-later
mkdir -p "ccache" || true
chmod a+x ./.ci/scripts/windows/docker.sh
# the UID for the container suyu user is 1027
sudo chown -R 1027 ./
docker run -e CCACHE_DIR=/suyu/ccache -v "$(pwd):/suyu" -w /suyu suyuemu/build-environments:linux-mingw /bin/bash -ex /suyu/.ci/scripts/windows/docker.sh "$1"
sudo chown -R $UID ./