summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbriaguya <70942617+briaguya-ai@users.noreply.github.com>2025-07-18 20:53:55 -0400
committerLywx <kiritodev01@gmail.com>2025-07-18 20:07:51 -0600
commitfd321f151ed6c734648df30ce708d83332b18fd9 (patch)
treea16924964f37173ade48a66eee88256291514ec3
parent4dcb15c2d04d47831ba9fdca8b676ea22e6b8501 (diff)
another tinyxml2 thing
-rw-r--r--.github/workflows/main.yml8
1 files changed, 4 insertions, 4 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 85c4da666..e35454bbb 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -59,7 +59,7 @@ jobs:
run: |
sudo apt-get update
sudo apt-get install -y ninja-build
- sudo apt-get remove -y cmake libtimyxml2-dev
+ sudo apt-get remove -y cmake
git -C libultraship remote add nx https://github.com/Net64DD/libultraship.git
git -C libultraship fetch nx
git -C libultraship checkout nx/main-nx
@@ -68,12 +68,12 @@ jobs:
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
+ mkdir build
cd build
- cmake ..
+ cmake -H.. -B. -DCMAKE_TOOLCHAIN_FILE=/opt/devkitpro/cmake/Switch.cmake
make
sudo make install
- cd ..
+ 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