forked from manugarg/pacparser
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
44 lines (28 loc) · 937 Bytes
/
appveyor.yml
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
environment:
matrix:
- PYTHON: "C:\\Python27"
install:
# We need wheel installed to build wheels
- "%PYTHON%\\python.exe -m pip install wheel"
build_script:
- cmd: >-
COPY C:\MinGW\bin\mingw32-make.exe C:\MinGW\bin\make.exe
SET PATH=%PATH%;C:\MinGW\bin;%CD%\src\spidermonkey\
SET PACPARSER_VERSION=%APPVEYOR_REPO_TAG_NAME%
"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall" x86
make -C src -f Makefile.win32
mkdir dist
cp src\pacparser.dll src\pacparser.h src\pacparser.lib src\pactester.exe dist
cp README.md dist\README.md
cp COPYING dist\COPYING.txt
cp INSTALL dist\INSTALL.txt
cp src\pacparser.o src\js.lib src\pymod\
cd src\pymod
%PYTHON%\python.exe setup.py build -c mingw32
%PYTHON%\python setup.py bdist_wheel
artifacts:
- path: src\pymod\dist\*
name: python-dist
- path: dist\*
name: dist
type: zip