Skip to content

Commit

Permalink
Package external static libs.
Browse files Browse the repository at this point in the history
  • Loading branch information
trisyoungs committed Aug 3, 2021
1 parent 26fe442 commit caac6eb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .azure-pipelines/templates/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,15 @@ steps:
set -ex
TAG=$(cat tag)
HDF5_DIR=$(ls -d hdf5-*)
SZIP_INSTALL_DIR="$(pwd)/szip-dist"
ZLIB_INSTALL_DIR="$(pwd)/zlib-dist"
echo "Source dir is: ${HDF5_DIR}"
INSTALL_DIR="build/${TAG}"
echo "Install dir is: ${INSTALL_DIR}"
mkdir packages
cd build
cp ${SZIP_INSTALL_DIR}/lib/libszip-static.a ${TAG}/lib
cp ${ZLIB_INSTALL_DIR}/lib/libz*.a ${TAG}/lib
${{ parameters.zipcommand }} ${TAG}-${{ parameters.suffix }}.zip ${TAG}
mv ${TAG}-${{ parameters.suffix }}.zip ../packages
displayName: 'Create Archive'

0 comments on commit caac6eb

Please sign in to comment.