File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change 44language : c
55
66before_install :
7+ - |
8+ [[ ! -f C:/tools/msys64/msys2_shell.cmd ]] && rm -rf C:/tools/msys64
9+ choco uninstall -y mingw
10+ choco upgrade --no-progress -y msys2
11+ export msys2='cmd //C RefreshEnv.cmd '
12+ export msys2+='& set MSYS=winsymlinks:nativestrict '
13+ export msys2+='& C:\\tools\\msys64\\msys2_shell.cmd -defterm -no-start'
14+ export mingw64="$msys2 -mingw64 -full-path -here -c "\"\$@"\" --"
15+ export msys2+=" -msys2 -c "\"\$@"\" --"
16+ $msys2 pacman --sync --noconfirm --needed mingw-w64-x86_64-toolchain bison flex
17+ ## Install more MSYS2 packages from https://packages.msys2.org/base here
18+ taskkill //IM gpg-agent.exe //F # https://travis-ci.community/t/4967
19+ export PATH=/C/tools/msys64/mingw64/bin:$PATH
20+ export MAKE=mingw32-make # so that Autotools can find it
721 - git clone -b REL_14_STABLE --single-branch --depth 1 https://github.com/postgres/postgres.git
822 - cd postgres/src/tools/msvc
923 - cp config_default.pl config.pl
You can’t perform that action at this time.
0 commit comments