ci: First phase of adding MingW support
This commit is contained in:
15
ci/build.sh
15
ci/build.sh
@@ -1,5 +1,20 @@
|
||||
#!/bin/sh
|
||||
|
||||
case "$(uname)" in
|
||||
MSYS*|MINGW*)
|
||||
pacman --noconfirm --remove mingw-w64-x86_64-gcc-ada
|
||||
pacman --noconfirm --remove mingw-w64-x86_64-gcc-fortran
|
||||
pacman --noconfirm --remove mingw-w64-x86_64-gcc-libgfortran
|
||||
pacman --noconfirm --remove mingw-w64-x86_64-gcc-objc
|
||||
pacman --noconfirm --sync --refresh
|
||||
pacman --noconfirm --sync --needed diffutils
|
||||
pacman --noconfirm --sync --needed make
|
||||
pacman --noconfirm --sync --needed mingw-w64-x86_64-gcc
|
||||
pacman --noconfirm --sync --needed mingw-w64-x86_64-cunit
|
||||
export PATH="/mingw64/bin:$PATH"
|
||||
;;
|
||||
esac
|
||||
|
||||
./autogen.sh &&
|
||||
./configure --enable-manpages --enable-test-tool --enable-tests \
|
||||
--enable-examples &&
|
||||
|
||||
Reference in New Issue
Block a user