mirror of
https://github.com/FWGS/xash3d-fwgs
synced 2024-11-29 05:20:23 +01:00
32 lines
781 B
Bash
32 lines
781 B
Bash
#!/bin/bash
|
|
|
|
cd $GITHUB_WORKSPACE
|
|
|
|
echo "Downloading and installing dkp-pacman..."
|
|
|
|
wget https://apt.devkitpro.org/install-devkitpro-pacman
|
|
chmod +x ./install-devkitpro-pacman
|
|
sudo ./install-devkitpro-pacman
|
|
sudo dkp-pacman --noconfirm -Sy
|
|
|
|
echo "Downloading and installing devkitA64..."
|
|
|
|
export DEVKITPRO=/opt/devkitpro
|
|
export DEVKITA64=$DEVKITPRO/devkitA64
|
|
export PORTLIBS=$DEVKITPRO/portlibs
|
|
|
|
sudo dkp-pacman --noconfirm -S devkitA64 dkp-toolchain-vars switch-cmake switch-pkg-config
|
|
|
|
echo "Downloading and installing packaged dependencies..."
|
|
|
|
sudo dkp-pacman --noconfirm -S libnx switch-mesa switch-libdrm_nouveau switch-sdl2
|
|
|
|
echo "Downloading and installing libsolder..."
|
|
|
|
git clone https://github.com/fgsfdsfgs/libsolder.git
|
|
|
|
pushd ./libsolder
|
|
make
|
|
sudo make install
|
|
popd
|