diff options
author | Thorbjørn Lindeijer <bjorn@lindeijer.nl> | 2024-05-08 13:54:23 +0200 |
---|---|---|
committer | Thorbjørn Lindeijer <bjorn@lindeijer.nl> | 2024-05-08 14:09:19 +0200 |
commit | 6c1b03e1f5a8d29de5a91ca3c0896a2d83b72e43 (patch) | |
tree | ca1e39f7d36c1426897a00595fbcb9c7ce688d55 /packaging | |
parent | 3f5377d6810de412c8963414f66f472fc740cad9 (diff) | |
download | mana-6c1b03e1f5a8d29de5a91ca3c0896a2d83b72e43.tar.gz mana-6c1b03e1f5a8d29de5a91ca3c0896a2d83b72e43.tar.bz2 mana-6c1b03e1f5a8d29de5a91ca3c0896a2d83b72e43.tar.xz mana-6c1b03e1f5a8d29de5a91ca3c0896a2d83b72e43.zip |
CI: Added MSYS2 build on AppVeyor
Makes a release build and publishes the Windows installer as artifact.
Diffstat (limited to 'packaging')
-rwxr-xr-x | packaging/msys2-build.sh | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/packaging/msys2-build.sh b/packaging/msys2-build.sh new file mode 100755 index 00000000..209e725f --- /dev/null +++ b/packaging/msys2-build.sh @@ -0,0 +1,18 @@ +#!/bin/bash + +pacman --noconfirm -S \ + mingw-w64-ucrt-x86_64-gcc \ + mingw-w64-ucrt-x86_64-cmake \ + mingw-w64-ucrt-x86_64-physfs \ + mingw-w64-ucrt-x86_64-curl-winssl \ + mingw-w64-ucrt-x86_64-SDL2_image \ + mingw-w64-ucrt-x86_64-SDL2_mixer \ + mingw-w64-ucrt-x86_64-SDL2_net \ + mingw-w64-ucrt-x86_64-SDL2_ttf \ + mingw-w64-ucrt-x86_64-libxml2 \ + mingw-w64-ucrt-x86_64-nsis + +cmake -B build . -DUSE_SYSTEM_GUICHAN=OFF -DCMAKE_BUILD_TYPE=Release +cmake --build build +pushd build +cpack |