source: sasview/build_tools/jenkins_ubuntu_build.sh @ 858fcb76

ESS_GUIESS_GUI_bumps_abstractionESS_GUI_iss1116ESS_GUI_openclESS_GUI_sync_sascalc
Last change on this file since 858fcb76 was 1095866, checked in by wojciech, 6 years ago

yml file edited to mitigate pyopencl failure

  • Property mode set to 100644
File size: 1.0 KB
Line 
1# Set up correct shell
2#!/bin/bash
3
4## Set up path for py36 - conda
5export PATH=/home/sasview/anaconda3/bin:$PATH
6export QT_QPA_PLATFORM=offscreen
7
8# Set proxy
9export http_proxy=http://192.168.1.1:8123
10export https_proxy=http://192.168.1.1:8123
11
12# List conda envs already on system
13conda env list
14
15# Make new env from git yml file
16cd $WORKSPACE
17cd sasview
18cd build_tools
19conda env create --force -f conda_qt5_min_ubuntu.yml
20conda env list
21
22# Activate new env
23source activate qt5_ubuntu
24conda list
25conda env list
26
27# Now build Sasview
28
29# Sasmodels
30cd $WORKSPACE
31cd sasmodels
32python setup.py build
33
34cd $WORKSPACE
35cd sasmodels
36cd doc
37make html
38
39cd $WORKSPACE
40cd sasmodels
41python setup.py build install
42
43
44# SasView
45cd $WORKSPACE 
46cd sasview
47python src/sas/qtgui/convertUI.py
48python setup.py build docs install
49
50# Pyinstaller
51cd $WORKSPACE 
52cd sasview
53cd installers
54pyinstaller sasview_qt5_min_centos.spec
55
56cd $WORKSPACE 
57cd sasview
58cd installers
59cp run_sasview.sh dist/sasview
60cp set_sasview_qt5_path.sh dist/sasview
61cd dist
62mv sasview SasView
63tar czvf SasView.tar.gz SasView
64
Note: See TracBrowser for help on using the repository browser.