Install HDF5 on a Travis Windows instance

  c++, hdf5, travis-ci, windows-installer

I need to silently install HDF5 libs on a travis windows instance. But the process hangs as msiexec command without giving any error message, and gets killed after 10 minutes.

I tried the same command locally and everything was fine. And the installation should take no more than one minute.

What could be the problem here? Thanks.

The config I am using:

language: node_js

node_js:
  - "node"
  - "14"
  - "12"

os:
  - windows

before_install:
  /c/Program Files (x86)/Microsoft Visual Studio/2017/BuildTools/Common7/Tools/VsDevCmd.bat;
  which cmake;
  wget -q https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-1.12/hdf5-1.12.0/bin/hdf5-1.12.0-Std-win10_64-vs15.zip -O /tmp/hdf5-1.12.0-Std-win10_64-vs15.zip;
  unzip -q /tmp/hdf5-1.12.0-Std-win10_64-vs15.zip;
  ls ./hdf;
  mkdir -p `pwd`/hdf5-1.12.0/dist;
  cd hdf;
  echo `pwd`;
  readlink -f HDF5-1.12.0-win64.msi;
  ls -lastr `pwd`/HDF5-1.12.0-win64.msi;
  msiexec /i `pwd`/HDF5-1.12.0-win64.msi /qn /lv!;
  cd ..;
  which h5dump;
  ls `pwd`/hdf5-1.12.0/dist;
  export HDF5_HOME_WIN=`pwd`/hdf5-1.12.0/dist;

Here is the link to the build

Source: Windows Questions C++

LEAVE A COMMENT