scripts: gha: install i686-pc-windows-msvc rust target for cross-compiling 32-bit maintui

This commit is contained in:
Alibek Omarov
2025-04-10 22:02:13 +03:00
parent 8ba30a1c09
commit a20e961892
2 changed files with 5 additions and 1 deletions

View File

@@ -3,3 +3,7 @@
curl -L https://github.com/libsdl-org/SDL/releases/download/release-$SDL_VERSION/SDL2-devel-$SDL_VERSION-VC.zip -o SDL2.zip
unzip -q SDL2.zip
mv SDL2-$SDL_VERSION SDL2_VC
if [ "$GH_CPU_ARCH" = "i386" ]; then
rustup target add i686-pc-windows-msvc
fi