1
0
Fork 0

Add all OSes to the workflow

This commit is contained in:
krcroft 2019-12-10 17:12:14 -08:00 committed by Patryk Obara
parent 343c85fa17
commit d22d48b527
6 changed files with 92 additions and 252 deletions

View file

@ -29,7 +29,9 @@ function autogen() {
function configure() {
if [[ ! -f Makefile || ! -f .previous_build || configure -nt Makefile ]]; then
export CXXFLAGS="${CFLAGS} ${CXXONLY}"
set -x
./configure --enable-core-inline ${configure_additions[*]}
set +x
fi
}

View file

@ -2,6 +2,6 @@
# MSYS2 only supports the current latest releases of Clang and GCC, so we disable version customization
packages+=(autogen autoconf base-devel automake-wrapper binutils)
pkg_type=$([[ "${bits}" == "64" ]] && echo "x86_64" || echo "i686")
for pkg in pkg-config libtool libpng zlib ncurses SDL SDL_net opusfile; do
for pkg in pkg-config libtool libpng zlib ncurses pdcurses SDL SDL_net opusfile; do
packages+=("mingw-w64-${pkg_type}-${pkg}")
done