summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorbriaguya <70942617+briaguya-ai@users.noreply.github.com>2025-07-18 20:44:57 -0400
committerLywx <kiritodev01@gmail.com>2025-07-18 20:07:51 -0600
commit4dcb15c2d04d47831ba9fdca8b676ea22e6b8501 (patch)
tree6a315a3f09d82fcb4e069dffcba31c729b7c66cd /.github
parentcb9495ec3f84ed297f0bf1e271b0cc8768091f56 (diff)
try a tinyxml thing
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/main.yml11
1 files changed, 10 insertions, 1 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 04dbe4f90..85c4da666 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -59,12 +59,21 @@ jobs:
run: |
sudo apt-get update
sudo apt-get install -y ninja-build
- sudo apt-get remove -y cmake
+ sudo apt-get remove -y cmake libtimyxml2-dev
git -C libultraship remote add nx https://github.com/Net64DD/libultraship.git
git -C libultraship fetch nx
git -C libultraship checkout nx/main-nx
wget https://github.com/Kitware/CMake/releases/download/v3.28.3/cmake-3.28.3-linux-x86_64.sh -O /tmp/cmake.sh
sudo sh /tmp/cmake.sh --prefix=/usr/local/ --exclude-subdir
+ wget https://github.com/leethomason/tinyxml2/archive/refs/tags/10.0.0.tar.gz
+ tar -xzf 10.0.0.tar.gz
+ cd tinyxml2-10.0.0
+ mkdir -p build
+ cd build
+ cmake ..
+ make
+ sudo make install
+ cd ..
cmake -H. -Bbuild-switch -GNinja -DCMAKE_TOOLCHAIN_FILE=/opt/devkitpro/cmake/Switch.cmake
cmake --build build-switch --config Release -j3
wget -O gamecontrollerdb.txt https://raw.githubusercontent.com/mdqinc/SDL_GameControllerDB/master/gamecontrollerdb.txt