Browse Source

ci: nswitch: the docker container is missing dkp-toolchain-vars, install it

pull/2/head
fgsfds 2 years ago
parent
commit
eff75e5d50
  1. 9
      scripts/gha/build_nswitch_docker.sh

9
scripts/gha/build_nswitch_docker.sh

@ -2,9 +2,6 @@
. scripts/lib.sh . scripts/lib.sh
export DEVKITPRO=/opt/devkitpro
source $DEVKITPRO/switchvars.sh || die
# args: branch name, gamedir name # args: branch name, gamedir name
build_hlsdk() build_hlsdk()
{ {
@ -17,9 +14,13 @@ build_hlsdk()
./waf clean ./waf clean
} }
echo "Downloading missing dka64 packages..."
dkp-pacman -S --noconfirm dkp-toolchain-vars || die
echo "Building libsolder..." echo "Building libsolder..."
sudo make -C libsolder install || exit 1 make -C libsolder install || die
echo "Building engine..." echo "Building engine..."

Loading…
Cancel
Save