FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
pygit2/appveyor.yml at ciwindows · libgit2/pygit2 · GitHub
libgit2
pygit2
Repository navigation
Code
Issues
188
(188)
Pull requests
5
(5)
Discussions
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
pygit2
/
appveyor.yml
Copy path
More file actions
More file actions
Latest commit
History
History
History
68 lines (58 loc) · 2.01 KB
Breadcrumbs
pygit2
/
appveyor.yml
Copy path
File metadata and controls
68 lines (58 loc) · 2.01 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
version
:
1.9.{build}
image
:
Visual Studio 2019
configuration
:
Release
environment
:
global
:
TWINE_USERNAME
:
jdavid
TWINE_PASSWORD
:
secure
:
m6oBGys2nmQTRn7vDv8/FA==
matrix
:
-
GENERATOR
:
'
Visual Studio 14
'
PYTHON
:
'
C:\Python37\python.exe
'
-
GENERATOR
:
'
Visual Studio 14 Win64
'
PYTHON
:
'
C:\Python37-x64\python.exe
'
-
GENERATOR
:
'
Visual Studio 14
'
PYTHON
:
'
C:\Python38\python.exe
'
-
GENERATOR
:
'
Visual Studio 14 Win64
'
PYTHON
:
'
C:\Python38-x64\python.exe
'
-
GENERATOR
:
'
Visual Studio 14
'
PYTHON
:
'
C:\Python39\python.exe
'
-
GENERATOR
:
'
Visual Studio 14 Win64
'
PYTHON
:
'
C:\Python39-x64\python.exe
'
-
GENERATOR
:
'
Visual Studio 14
'
PYTHON
:
'
C:\Python310\python.exe
'
-
GENERATOR
:
'
Visual Studio 14 Win64
'
PYTHON
:
'
C:\Python310-x64\python.exe
'
matrix
:
fast_finish
:
true
init
:
-
cmd
:
|
"%PYTHON%" -m pip install -U pip wheel
build_script
:
#
Clone, build and install libgit2
-
cmd
:
|
set LIBGIT2=%APPVEYOR_BUILD_FOLDER%\venv
git clone --depth=1 -b v1.4.2 https://github.com/libgit2/libgit2.git libgit2
cd libgit2
cmake . -DBUILD_TESTS=OFF -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX="%LIBGIT2%" -G "%GENERATOR%"
cmake --build . --target install
cd ..
#
Build and install pygit2
#
Rename pygit2 folder, so when testing it picks the installed one
-
cmd
:
|
"%PYTHON%" -m pip install -r requirements-test.txt
"%PYTHON%" -m pip wheel --wheel-dir=dist .
"%PYTHON%" -m pip install --no-index --find-links=dist pygit2
mv pygit2 pygit2.bak
test_script
:
-
ps
:
|
&$env:PYTHON -m pytest test --junitxml=testresults.xml
if ($LastExitCode -ne 0) { $host.SetShouldExit($LastExitCode) }
# upload results to AppVeyor
$wc = New-Object 'System.Net.WebClient'
$wc.UploadFile("https://ci.appveyor.com/api/testresults/junit/$($env:APPVEYOR_JOB_ID)", (Resolve-Path ".\testresults.xml"))
artifacts
:
-
path
:
dist\pygit2-*.whl
deploy_script
:
-
ps
:
if ($env:APPVEYOR_REPO_TAG -eq $TRUE) { pip install twine; twine upload dist/pygit2-*.whl }
deploy
:
on
Back
|
FazBrowse Home
|
New Git URL