mirror of
https://github.com/pineappleEA/pineapple-src.git
synced 2024-11-25 02:38:25 -05:00
fix warnings as errors
This commit is contained in:
parent
29c67c4f40
commit
7bdc013452
7
.github/workflows/docker.sh
vendored
7
.github/workflows/docker.sh
vendored
@ -9,9 +9,14 @@ title="yuzu Early Access $ver"
|
||||
yuzupatch=( $(ls -d patches/* ) )
|
||||
for i in "${yuzupatch[@]}"; do patch -p1 < "$i"; done
|
||||
|
||||
find . -name "CMakeLists.txt" -exec sed -i 's/^.*-Werror$/-W/g' {} +
|
||||
find . -name "CMakeLists.txt" -exec sed -i 's/^.*-Werror=.*)$/ )/g' {} +
|
||||
find . -name "CMakeLists.txt" -exec sed -i 's/^.*-Werror=.*$/ /g' {} +
|
||||
find . -name "CMakeLists.txt" -exec sed -i 's/-Werror/-W/g' {} +
|
||||
|
||||
mkdir build && cd build
|
||||
|
||||
cmake .. -G Ninja -DCMAKE_CXX_FLAGS="-W" -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=/usr/lib/ccache/gcc -DCMAKE_CXX_COMPILER=/usr/lib/ccache/g++ -DTITLE_BAR_FORMAT_IDLE="$title" -DTITLE_BAR_FORMAT_RUNNING="$title | {3}" -DENABLE_COMPATIBILITY_LIST_DOWNLOAD=ON -DGIT_BRANCH="HEAD" -DGIT_DESC="$msvc" -DUSE_DISCORD_PRESENCE=ON
|
||||
cmake .. -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=/usr/lib/ccache/gcc -DCMAKE_CXX_COMPILER=/usr/lib/ccache/g++ -DTITLE_BAR_FORMAT_IDLE="$title" -DTITLE_BAR_FORMAT_RUNNING="$title | {3}" -DENABLE_COMPATIBILITY_LIST_DOWNLOAD=ON -DGIT_BRANCH="HEAD" -DGIT_DESC="$msvc" -DUSE_DISCORD_PRESENCE=ON
|
||||
|
||||
ninja
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user