Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7143145

Browse files
author
Edward Thomson
authored
Merge pull request #4137 from libgit2/ethomson/appveyor
appveyor: don't rewrite the system mingw
2 parents 7f875fb + 408a7b7 commit 7143145

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

appveyor.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ version: '{build}'
22
branches:
33
only:
44
- master
5+
- appveyor
56
- /^maint.*/
67
environment:
78
GITTEST_INVASIVE_FS_STRUCTURE: 1

script/appveyor-mingw.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,17 @@ if [ "$ARCH" = "i686" ]; then
77
curl -LsSO http://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win32/Personal%20Builds/mingw-builds/4.9.2/threads-win32/sjlj/$f
88
fi
99
7z x $f > /dev/null
10-
mv mingw32 /MinGW
10+
export PATH=`pwd`/mingw32/bin:$PATH
1111
else
1212
f=x86_64-4.9.2-release-win32-seh-rt_v3-rev1.7z
1313
if ! [ -e $f ]; then
1414
curl -LsSO http://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win64/Personal%20Builds/mingw-builds/4.9.2/threads-win32/seh/$f
1515
fi
1616
7z x $f > /dev/null
17-
mv mingw64 /MinGW
17+
export PATH=`pwd`/mingw64/bin:$PATH
1818
fi
1919
cd build
20+
gcc --version
21+
cmake --version
2022
cmake -D ENABLE_TRACE=ON -D BUILD_CLAR=ON .. -G"$GENERATOR"
2123
cmake --build . --config RelWithDebInfo

0 commit comments

Comments
 (0)