File tree 1 file changed +2
-10
lines changed
1 file changed +2
-10
lines changed Original file line number Diff line number Diff line change 3
3
4
4
language : c
5
5
6
- # Make sure CMake is installed
6
+ # Make sure CMake and Mono are installed
7
7
install :
8
8
- sudo apt-get install cmake mono-devel mono-gmcs
9
9
10
10
# Build libgit2, LibGit2Sharp and run the tests
11
11
script :
12
12
- git submodule update --init
13
- - mkdir cmake-build
14
- - LIBGIT2SHA=`cat ./LibGit2Sharp/libgit2_hash.txt`
15
- - SHORTSHA=${LIBGIT2SHA:0:7}
16
- - cd cmake-build
17
- - cmake -DTHREADSAFE=ON -DCMAKE_BUILD_TYPE=Release -DBUILD_CLAR=OFF -DBUILD_SHARED_LIBS=ON -DCMAKE_INSTALL_PREFIX=./libgit2-bin -DSONAME_APPEND=$SHORTSHA ../libgit2
18
- - export LD_LIBRARY_PATH=$PWD/libgit2-bin/lib
19
- - cmake --build . --target install
20
- - cd ..
21
- - xbuild CI-build.msbuild /t:Deploy
13
+ - ./build.libgit2sharp.sh
22
14
23
15
# Only watch the development branch
24
16
branches :
You can’t perform that action at this time.
0 commit comments