Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
git2
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
git2
Commits
4c88fd7c
Commit
4c88fd7c
authored
Mar 04, 2015
by
Tony Kelman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add MinGW-w64 to matrix
cache mingw-w64 downloads quiet curl and 7zip run appveyor steps in cmd for mingw
parent
ba6c53b9
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
4 deletions
+28
-4
appveyor.yml
+9
-2
script/appveyor-mingw.sh
+19
-2
No files found.
appveyor.yml
View file @
4c88fd7c
...
...
@@ -13,6 +13,13 @@ environment:
ARCH
:
64
-
GENERATOR
:
"
MSYS
Makefiles"
ARCH
:
32
-
GENERATOR
:
"
MSYS
Makefiles"
ARCH
:
i686
# this is for 32-bit MinGW-w64
-
GENERATOR
:
"
MSYS
Makefiles"
ARCH
:
64
cache
:
-
i686-4.9.2-release-win32-sjlj-rt_v3-rev1.7z
-
x86_64-4.9.2-release-win32-seh-rt_v3-rev1.7z
build_script
:
-
ps
:
|
if ($env:APPVEYOR_PULL_REQUEST_NUMBER -and $env:APPVEYOR_BUILD_NUMBER -ne ((Invoke-RestMethod `
...
...
@@ -24,8 +31,8 @@ build_script:
if ($env:GENERATOR -ne "MSYS Makefiles") {
cmake -D ENABLE_TRACE=ON -D BUILD_CLAR=ON .. -G"$env:GENERATOR"
cmake --build . --config RelWithDebInfo
} else {
C:\MinGW\msys\1.0\bin\sh --login /c/projects/libgit2/script/appveyor-mingw.sh
}
-
cmd
:
|
if "%GENERATOR%"=="MSYS Makefiles" (C:\MinGW\msys\1.0\bin\sh --login /c/projects/libgit2/script/appveyor-mingw.sh)
test_script
:
-
ps
:
ctest -V .
script/appveyor-mingw.sh
View file @
4c88fd7c
#!/bin/sh
set
-e
cd
`
dirname
"
$0
"
`
/../build
echo
'C:\MinGW\ /MinGW'
>
/etc/fstab
cd
`
dirname
"
$0
"
`
/..
if
[
"
$ARCH
"
=
"32"
]
;
then
echo
'C:\MinGW\ /MinGW'
>
/etc/fstab
elif
[
"
$ARCH
"
=
"i686"
]
;
then
f
=
i686-4.9.2-release-win32-sjlj-rt_v3-rev1.7z
if
!
[
-e
$f
]
;
then
curl
-LsSO
http://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win32/Personal%20Builds/mingw-builds/4.9.2/threads-win32/sjlj/
$f
fi
7z x
$f
>
/dev/null
mv mingw32 /MinGW
else
f
=
x86_64-4.9.2-release-win32-seh-rt_v3-rev1.7z
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
fi
7z x
$f
>
/dev/null
mv mingw64 /MinGW
fi
cd
build
cmake
-D
ENABLE_TRACE
=
ON
-D
BUILD_CLAR
=
ON ..
-G
"
$GENERATOR
"
cmake
--build
.
--config
RelWithDebInfo
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment