From 2261b0dcab9fd34ea4477b02e282573387c59a9e Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Tue, 25 Apr 2023 13:10:12 +0300 Subject: [PATCH] scripts: gha: set --disable-werror for building HLSDK --- scripts/gha/build_nswitch_docker.sh | 4 +++- scripts/gha/build_psvita.sh | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/scripts/gha/build_nswitch_docker.sh b/scripts/gha/build_nswitch_docker.sh index a4901351..7b24b1b1 100644 --- a/scripts/gha/build_nswitch_docker.sh +++ b/scripts/gha/build_nswitch_docker.sh @@ -6,7 +6,9 @@ build_hlsdk() { echo "Building HLSDK: $1 branch..." git checkout $1 - ./waf configure -T release --nswitch || die_configure + + # This is not our bug if HLSDK doesn't build with -Werrors enabled + ./waf configure -T release --nswitch --disable-werror || die_configure ./waf build install --destdir=../pkgtemp/xash3d || die } diff --git a/scripts/gha/build_psvita.sh b/scripts/gha/build_psvita.sh index c9b2036b..ae9b1bba 100644 --- a/scripts/gha/build_psvita.sh +++ b/scripts/gha/build_psvita.sh @@ -6,7 +6,9 @@ build_hlsdk() { echo "Building HLSDK: $1 branch..." git checkout $1 - ./waf configure -T release --psvita || die_configure + + # This is not our bug if HLSDK doesn't build with -Werrors enabled + ./waf configure -T release --psvita --disable-werror || die_configure ./waf build install --destdir=../pkgtemp/data/xash3d || die }