mirror of
https://git.proxmox.com/git/libgit2
synced 2025-08-13 04:26:40 +00:00
add mingw to appveyor matrix
use MSYS makefiles generator add bash script for running mingw on appveyor add --login and fix run paths use msys style path to appveyor-mingw.sh add mingw path to /etc/fstab
This commit is contained in:
parent
bdf0e73450
commit
ac5fad2780
10
appveyor.yml
10
appveyor.yml
@ -11,11 +11,17 @@ environment:
|
||||
ARCH: 32
|
||||
- GENERATOR: "Visual Studio 11 Win64"
|
||||
ARCH: 64
|
||||
- GENERATOR: "MSYS Makefiles"
|
||||
ARCH: 32
|
||||
build_script:
|
||||
- ps: |
|
||||
mkdir build
|
||||
cd build
|
||||
cmake -D ENABLE_TRACE=ON -D BUILD_CLAR=ON .. -G"$env:GENERATOR"
|
||||
cmake --build . --config RelWithDebInfo
|
||||
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
|
||||
}
|
||||
test_script:
|
||||
- ps: ctest -V .
|
||||
|
6
script/appveyor-mingw.sh
Executable file
6
script/appveyor-mingw.sh
Executable file
@ -0,0 +1,6 @@
|
||||
#!/bin/sh
|
||||
set -e
|
||||
cd `dirname "$0"`/../build
|
||||
echo 'C:\MinGW\ /MinGW' > /etc/fstab
|
||||
cmake -D ENABLE_TRACE=ON -D BUILD_CLAR=ON .. -G"$GENERATOR"
|
||||
cmake --build . --config RelWithDebInfo
|
Loading…
Reference in New Issue
Block a user