Changeset 13263
- Timestamp:
- 2012-10-08T22:54:59+02:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
installers/windows/OpenModelicaSetup/BuildWindowsRelease.sh
r13262 r13263 1 #!/bin/bash -x 2 # script to build the OpenModelica release1 #!/bin/bash -xe 2 # script to build the OpenModelica nightly-build 3 3 # Adrian Pop [adrian.pop@liu.se] 4 4 # 2012-10-08 … … 11 11 # jdk 12 12 13 # get the ssh password via command line 14 export SSHUSER=$1 13 15 14 16 # set the path to our tools … … 24 26 # update OMDev 25 27 cd /c/OMDev/ 26 svn up 28 svn up . --accept theirs-full 27 29 28 30 # update OpenModelica 29 31 cd /c/dev/OpenModelica 30 svn up 32 svn up . --accept theirs-full 31 33 # get the revision 32 34 export REVISION=`svn info | grep "Revision:" | cut -d " " -f 2` … … 47 49 # update OpenModelicaSetup 48 50 cd /c/dev/OpenModelica/Compiler/OpenModelicaSetup 49 svn up 51 svn up . --accept theirs-full 50 52 51 53 # build OpenModelica 54 #cd /c/dev/OpenModelica 55 #make -f 'Makefile.omdev.mingw' clean 52 56 cd /c/dev/OpenModelica 53 make -f Makefile.omdev.mingw clean54 make -f Makefile.omdev.mingw omc 55 make -f Makefile.omdev.mingwinstall-python57 make -f 'Makefile.omdev.mingw' all 58 cd /c/dev/OpenModelica 59 make -f 'Makefile.omdev.mingw' install-python 56 60 57 61 # build the .qm files from .ts files for OMEdit … … 61 65 # build the installer 62 66 cd /c/dev/OpenModelica/Compiler/OpenModelicaSetup 63 makensis w /V4OpenModelicaSetup.nsi67 makensis OpenModelicaSetup.nsi 64 68 # move the installer 65 69 mv OpenModelica.exe ${FILE_PREFIX}.exe … … 72 76 export DATESTR=`date +"%Y-%m-%d_%H-%M"` 73 77 echo "Automatic build of OpenModelica by testwin.openmodelica.org at date: ${DATESTR} from revision: ${REVISION}" >> ${FILE_PREFIX}-README.txt 78 echo " " >> ${FILE_PREFIX}-README.txt 74 79 echo "Read OpenModelica-*-ChangeLog.txt for more info on changes." >> ${FILE_PREFIX}-README.txt 80 echo " " >> ${FILE_PREFIX}-README.txt 75 81 echo "See also (match revision ${REVISION} to build jobs):" >> ${FILE_PREFIX}-README.txt 76 82 echo " https://test.openmodelica.org/hudson/" >> ${FILE_PREFIX}-README.txt 77 83 echo " http://test.openmodelica.org/~marsj/MSL31/BuildModelRecursive.html" >> ${FILE_PREFIX}-README.txt 78 84 echo " http://test.openmodelica.org/~marsj/MSL32/BuildModelRecursive.html" >> ${FILE_PREFIX}-README.txt 85 echo " " >> ${FILE_PREFIX}-README.txt 79 86 cat >> ${FILE_PREFIX}-README.txt <<DELIMITER 80 87 *Instructions to prepare test information if you find a bug:* … … 115 122 echo " https://test.openmodelica.org/hudson/" >> ${FILE_PREFIX}-testsuite-trace.txt 116 123 124 ls -lah ${PREFIX} 125 126 cd ${PREFIX} 127 # move the last nightly build to the older location 128 ssh ${SSHUSER}@build.openmodelica.org <<ENDSSH 129 #commands to run on remote host 130 cd public_html/omc/builds/windows/nightly-builds/ 131 mv -f OpenModelica* older/ 132 ENDSSH 133 scp OpenModelica* ${SSHUSER}@build.openmodelica.org:public_html/omc/builds/windows/nightly-builds/
Note: See TracChangeset
for help on using the changeset viewer.