Browse Source

scripts: gha: set --disable-werror for building HLSDK

pull/2/head
Alibek Omarov 1 year ago
parent
commit
2261b0dcab
  1. 4
      scripts/gha/build_nswitch_docker.sh
  2. 4
      scripts/gha/build_psvita.sh

4
scripts/gha/build_nswitch_docker.sh

@ -6,7 +6,9 @@ build_hlsdk()
{ {
echo "Building HLSDK: $1 branch..." echo "Building HLSDK: $1 branch..."
git checkout $1 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 ./waf build install --destdir=../pkgtemp/xash3d || die
} }

4
scripts/gha/build_psvita.sh

@ -6,7 +6,9 @@ build_hlsdk()
{ {
echo "Building HLSDK: $1 branch..." echo "Building HLSDK: $1 branch..."
git checkout $1 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 ./waf build install --destdir=../pkgtemp/data/xash3d || die
} }

Loading…
Cancel
Save