source: sasview/build_tools/jenkins_win64_build.bat @ 4141155

ESS_GUIESS_GUI_DocsESS_GUI_batch_fittingESS_GUI_bumps_abstractionESS_GUI_iss1116ESS_GUI_iss879ESS_GUI_iss959ESS_GUI_openclESS_GUI_orderingESS_GUI_sync_sascalc
Last change on this file since 4141155 was 4141155, checked in by Piotr Rozyczko <rozyczko@…>, 8 years ago

Added jenkins script for the win64 anaconda instance

  • Property mode set to 100644
File size: 2.5 KB
Line 
1set PYTHON=python.exe
2set EASY_INSTALL=easy_install.exe
3set PYLINT= pylint.exe
4set INNO="C:\util\inno\ISCC.exe"
5set GIT_SED=C:\"Program Files"\Git\bin\sed.exe
6
7set SAS_COMPILER=tinycc
8set WORKSPACE=C:\build
9
10set PYTHONPATH=%WORKSPACE%\sasview\utils
11set PYTHONPATH=%PYTHONPATH%;%WORKSPACE%\sasview\sasview-install
12
13echo %PYTHONPATH%
14echo %WORKSPACE%
15
16
17:: SET SASVIEW GITHASH ################################################
18cd %WORKSPACE%
19cd sasview\sasview
20git rev-parse HEAD > tmpFile_githash
21SET /p githash= < tmpFile_githash
22DEL tmpFile_githash
23%GIT_SED% -i.bak "s/GIT_COMMIT/%githash%/g" __init__.py
24
25
26
27:: MAKE DIR FOR EGGS ##################################################
28cd %WORKSPACE%
29cd sasview
30MD sasview-install
31MD utils
32
33
34:: SASMODELS build ####################################################
35cd %WORKSPACE%
36cd sasmodels
37%PYTHON% setup.py build
38
39
40
41:: SASMODELS doc ######################################################
42cd doc
43make html
44
45
46:: SASMODELS build egg ################################################
47cd %WORKSPACE%
48cd sasmodels
49%PYTHON% setup.py bdist_egg
50
51
52:: SASMODELS install egg ##############################################
53cd %WORKSPACE%
54cd sasmodels
55cd dist
56echo F | xcopy sasmodels-*.egg sasmodels.egg /Y
57%EASY_INSTALL% -d %WORKSPACE%\sasview\utils sasmodels.egg
58
59
60:: NOW BUILD SASVIEW
61
62:: SASVIEW build egg ################################################
63cd %WORKSPACE%
64cd sasview
65%PYTHON% setup.py build docs bdist_egg
66
67
68:: SASVIEW utest ######################################################
69cd %WORKSPACE%\sasview\test
70%PYTHON% utest_sasview.py
71
72
73:: SASVIEW INSTALL EGG ################################################
74cd %WORKSPACE%
75cd sasview
76cd dist
77echo F | xcopy sasview-*.egg sasview.egg /Y
78%EASY_INSTALL% -d %WORKSPACE%\sasview\sasview-install sasview.egg
79
80
81:: TINYCC build ####################################################
82cd %WORKSPACE%
83cd tinycc
84%PYTHON% setup.py build
85xcopy /S build\lib\* %WORKSPACE%\sasview\utils\
86
87:: SASVIEW INSTALLER ##################################################
88cd %WORKSPACE%
89cd sasview
90cd sasview
91%PYTHON% setup_exe.py py2exe
92%PYTHON% installer_generator.py
93%INNO% installer.iss
94cd Output
95xcopy setupSasView.exe %WORKSPACE%\sasview\dist
96
97:: SASVIEW PYLINT #####################################################
98cd %WORKSPACE%\sasview
99%PYLINT% --rcfile "build_tools/pylint.rc" -f parseable sasview-install/sasview.egg/sas sasview > test/sasview.txt
100
101
102:: GO BACK ############################################################
103cd %WORKSPACE%
Note: See TracBrowser for help on using the repository browser.