prepost-gui ![Build status](https://ci.appveyor.com/api/projects/status/f5lfc0iym90xpb7b?svg=true)
The paths to install external libraries, such as VTK, Qwt, proj.4 differs on each development environment, so the
paths are now excluded from src.pro, and stored in paths.pri.
This folder contains paths_std.pri, so copy it to paths.pri, and modify it to fit your environment. Or use the
paths.pri that's created when building https://github.com/i-RIC/iricdev (or by running create-files.cmd).
If the following conditions are all true then the output of this build is added to the dev_src directory of the
i-RIC/online_update repository:
- Is from this repository (https://github.com/i-RIC/prepost-gui.git)
- The commit is on the master branch
- It is not a pull request
- The Release Configuration is being built
- The build is successful
Steps to build on appveyor
-
Build iRIC GUI
- Load Qt environment
- Download lastest master branch of i-RIC/iricdev
- Download pre-built libraries from i-RIC/iricdev
- Run qmake to create Visual Studio solution and project files
- Run msbuild to build the Visual Studio solution
-
Clone the i-RIC/online_update repository
-
Update the following files to modify version number and release date
- dev_src/packages/gui.prepost/data/definition.xml
- dev_src/packages/gui.prepost/meta/package.xml
- This is done using powershell's builtin string, date, and regular expression tools
-
Copy the binaries to dev_src/packages/gui.prepost/data
- Run cmake to create an INSTALL.vcxproj project
- Run msbuild to distribute the prepost-gui files
-
Run repogen to build packages and Updates.xml for online update
- Run python script dev_src/build_update_repository.py
-
Commit and push results to i-RIC/online_update
- Create new user iric-appveyor
- Add user iric-appveyor as collaborator on i-RIC/online_update repository
- Add personal access token in Settings / Developer settings (in iric-appveyor account)
- Use appveyor website to encrypt personal access token from i-RIC account