ci: Add ci/install.bat
Move the MinGW package installation commands from ci/build.sh into ci/install.sh.
This commit is contained in:
@@ -9,7 +9,8 @@ image:
|
|||||||
clone_depth: 5
|
clone_depth: 5
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- sh: 'ci/install.sh'
|
- sh: 'ci/install.sh'
|
||||||
|
- cmd: 'ci\install.bat'
|
||||||
|
|
||||||
build_script:
|
build_script:
|
||||||
- sh: 'ci/build.sh'
|
- sh: 'ci/build.sh'
|
||||||
|
|||||||
@@ -9,15 +9,6 @@ configure_options=(
|
|||||||
|
|
||||||
case "$(uname)" in
|
case "$(uname)" in
|
||||||
MSYS*|MINGW*)
|
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"
|
export PATH="/mingw64/bin:$PATH"
|
||||||
configure_options+=(--disable-shared)
|
configure_options+=(--disable-shared)
|
||||||
;;
|
;;
|
||||||
|
|||||||
1
ci/install.bat
Normal file
1
ci/install.bat
Normal file
@@ -0,0 +1 @@
|
|||||||
|
C:\msys64\usr\bin\bash --login -c 'set -x; cd "${APPVEYOR_BUILD_FOLDER}"; ci/install.sh'
|
||||||
@@ -14,4 +14,15 @@ case "$(uname)" in
|
|||||||
;;
|
;;
|
||||||
Darwin)
|
Darwin)
|
||||||
;;
|
;;
|
||||||
|
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
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
|
|||||||
Reference in New Issue
Block a user