forked from etc/pineapple-src
Update docker.sh
build with externals exclude externals from error suppression
This commit is contained in:
parent
0301e95e45
commit
3530fd224f
1 changed files with 4 additions and 13 deletions
17
.github/workflows/docker.sh
vendored
17
.github/workflows/docker.sh
vendored
|
@ -7,22 +7,13 @@ title="yuzu Early Access $ver"
|
||||||
|
|
||||||
ln -s /home/yuzu/.conan /root
|
ln -s /home/yuzu/.conan /root
|
||||||
|
|
||||||
#SDL-2.0.15-14858.tar.gz
|
|
||||||
mkdir SDL2 && cd SDL2
|
|
||||||
curl -sLO http://libsdl.org/tmp/SDL-2.0.15-14858.tar.gz
|
|
||||||
tar -xzf SDL-2.0.15-14858.tar.gz
|
|
||||||
cd SDL-2.0.15-14858
|
|
||||||
./configure --prefix=/usr
|
|
||||||
make && make install
|
|
||||||
cd ../../
|
|
||||||
|
|
||||||
yuzupatch=( $(ls -d patches/* ) )
|
yuzupatch=( $(ls -d patches/* ) )
|
||||||
for i in "${yuzupatch[@]}"; do patch -p1 < "$i"; done
|
for i in "${yuzupatch[@]}"; do patch -p1 < "$i"; done
|
||||||
|
|
||||||
find . -name "CMakeLists.txt" -exec sed -i 's/^.*-Werror$/-W/g' {} +
|
find . -name "CMakeLists.txt" ! -path "*/externals/*" -exec sed -i 's/^.*-Werror$/-W/g' {} +
|
||||||
find . -name "CMakeLists.txt" -exec sed -i 's/^.*-Werror=.*)$/ )/g' {} +
|
find . -name "CMakeLists.txt" ! -path "*/externals/*" -exec sed -i 's/^.*-Werror=.*)$/ )/g' {} +
|
||||||
find . -name "CMakeLists.txt" -exec sed -i 's/^.*-Werror=.*$/ /g' {} +
|
find . -name "CMakeLists.txt" ! -path "*/externals/*" -exec sed -i 's/^.*-Werror=.*$/ /g' {} +
|
||||||
find . -name "CMakeLists.txt" -exec sed -i 's/-Werror/-W/g' {} +
|
find . -name "CMakeLists.txt" ! -path "*/externals/*" -exec sed -i 's/-Werror/-W/g' {} +
|
||||||
|
|
||||||
mkdir build && cd build
|
mkdir build && cd build
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue