i-RIC / iricdev-2019

0 stars 2 forks source link

iricdev-2019 workflow

Build libraries needed to build iRIC on Windows

To clear build cache:

Run these commands in PowerShell:

$token = '<your-api-token>'
$account = '<accountName>'
$h = @{}
$h['Authorization'] = "Bearer $token"
$h["Content-type"] = "application/json"
Invoke-RestMethod -Uri "https://ci.appveyor.com/api/projects/$account/iricdev-2019/buildcache" -Headers $h -Method DELETE

see https://www.appveyor.com/docs/api/projects-builds/#delete-project-build-cache

Windows Visual Studio Community 2019 Build (Full)

in a git bash shell

git clone https://github.com/i-RIC/iricdev-2019.git
cd iricdev-2019

copy programs_std.prop to programs.prop and make any necessary changes (ie path to git curl program)

in a Command Prompt

cd iricdev-2019
msbuild_2019.cmd (or msbuild_2019_w_tools.cmd to build hdf5 tools)
copy paths.pri [prepost-gui-root]\.
copy dirExt.prop [prepost-gui-root]\tools\data\.
mkdir [prepost-gui-root]\libdlls\debug
mkdir [prepost-gui-root]\libdlls\release
:: if building tools
add install\hdf5-[HDF5_VER]\release\bin to "Path"

or if you want to use the VTK_DEBUG_LEAKS configuration

cd iricdev-2019
msbuild_2019.cmd (or msbuild_2019_w_tools.cmd to build hdf5 tools)
copy paths-debug-vtk-leaks.pri [prepost-gui-root]\paths.pri
copy dirExt-debug-vtk-leaks.prop [prepost-gui-root]\tools\data\dirExt.prop
mkdir [prepost-gui-root]\libdlls\debug
mkdir [prepost-gui-root]\libdlls\release
:: if building tools
add install\hdf5-[HDF5_VER]\release\bin to "Path"

Github actions build times:

image