mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-29 15:10:02 +00:00
Merge pull request #4137 from libgit2/ethomson/appveyor
appveyor: don't rewrite the system mingw
This commit is contained in:
commit
7143145f2f
@ -2,6 +2,7 @@ version: '{build}'
|
|||||||
branches:
|
branches:
|
||||||
only:
|
only:
|
||||||
- master
|
- master
|
||||||
|
- appveyor
|
||||||
- /^maint.*/
|
- /^maint.*/
|
||||||
environment:
|
environment:
|
||||||
GITTEST_INVASIVE_FS_STRUCTURE: 1
|
GITTEST_INVASIVE_FS_STRUCTURE: 1
|
||||||
|
@ -7,15 +7,17 @@ if [ "$ARCH" = "i686" ]; then
|
|||||||
curl -LsSO http://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win32/Personal%20Builds/mingw-builds/4.9.2/threads-win32/sjlj/$f
|
curl -LsSO http://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win32/Personal%20Builds/mingw-builds/4.9.2/threads-win32/sjlj/$f
|
||||||
fi
|
fi
|
||||||
7z x $f > /dev/null
|
7z x $f > /dev/null
|
||||||
mv mingw32 /MinGW
|
export PATH=`pwd`/mingw32/bin:$PATH
|
||||||
else
|
else
|
||||||
f=x86_64-4.9.2-release-win32-seh-rt_v3-rev1.7z
|
f=x86_64-4.9.2-release-win32-seh-rt_v3-rev1.7z
|
||||||
if ! [ -e $f ]; then
|
if ! [ -e $f ]; then
|
||||||
curl -LsSO http://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win64/Personal%20Builds/mingw-builds/4.9.2/threads-win32/seh/$f
|
curl -LsSO http://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win64/Personal%20Builds/mingw-builds/4.9.2/threads-win32/seh/$f
|
||||||
fi
|
fi
|
||||||
7z x $f > /dev/null
|
7z x $f > /dev/null
|
||||||
mv mingw64 /MinGW
|
export PATH=`pwd`/mingw64/bin:$PATH
|
||||||
fi
|
fi
|
||||||
cd build
|
cd build
|
||||||
|
gcc --version
|
||||||
|
cmake --version
|
||||||
cmake -D ENABLE_TRACE=ON -D BUILD_CLAR=ON .. -G"$GENERATOR"
|
cmake -D ENABLE_TRACE=ON -D BUILD_CLAR=ON .. -G"$GENERATOR"
|
||||||
cmake --build . --config RelWithDebInfo
|
cmake --build . --config RelWithDebInfo
|
||||||
|
Loading…
Reference in New Issue
Block a user