commit
b195744abc
2 changed files with 6 additions and 13 deletions
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
|
@ -12,6 +12,8 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
submodules: recursive
|
||||||
- name: Prepare ccache timestamp
|
- name: Prepare ccache timestamp
|
||||||
id: ccache_cache_timestamp
|
id: ccache_cache_timestamp
|
||||||
shell: cmake -P {0}
|
shell: cmake -P {0}
|
||||||
|
|
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