1bf215546Sopenharmony_ci#!/bin/bash 2bf215546Sopenharmony_ci 3bf215546Sopenharmony_ciset -ex 4bf215546Sopenharmony_ci 5bf215546Sopenharmony_ciGFXRECONSTRUCT_VERSION=5ed3caeecc46e976c4df31e263df8451ae176c26 6bf215546Sopenharmony_ci 7bf215546Sopenharmony_cigit clone https://github.com/LunarG/gfxreconstruct.git \ 8bf215546Sopenharmony_ci --single-branch \ 9bf215546Sopenharmony_ci -b master \ 10bf215546Sopenharmony_ci --no-checkout \ 11bf215546Sopenharmony_ci /gfxreconstruct 12bf215546Sopenharmony_cipushd /gfxreconstruct 13bf215546Sopenharmony_cigit checkout "$GFXRECONSTRUCT_VERSION" 14bf215546Sopenharmony_cigit submodule update --init 15bf215546Sopenharmony_cigit submodule update 16bf215546Sopenharmony_cicmake -S . -B _build -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX:PATH=/gfxreconstruct/build -DBUILD_WERROR=OFF 17bf215546Sopenharmony_cicmake --build _build --parallel --target tools/{replay,info}/install/strip 18bf215546Sopenharmony_cifind . -not -path './build' -not -path './build/*' -delete 19bf215546Sopenharmony_cipopd 20