From 53beac102a2e241057c753605fa43af9132ae92f Mon Sep 17 00:00:00 2001 From: Karl W Schulz Date: Fri, 19 Apr 2024 14:10:09 -0500 Subject: [PATCH] update tarball packaging test based on new install paths Signed-off-by: Karl W Schulz --- .github/workflows/tarball.yml | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/.github/workflows/tarball.yml b/.github/workflows/tarball.yml index 6581c0ddc5..cdc55d2824 100644 --- a/.github/workflows/tarball.yml +++ b/.github/workflows/tarball.yml @@ -83,12 +83,16 @@ jobs: make install - name: Verify expected paths run: | - test -d $INSTALL_DIR/omniperf - test -s $INSTALL_DIR/omniperf/VERSION - test -s $INSTALL_DIR/omniperf/VERSION.sha - test -d $INSTALL_DIR/omniperf/bin - test -x $INSTALL_DIR/omniperf/bin/omniperf - test -d $INSTALL_DIR/modulefiles/omniperf + test -d $INSTALL_DIR + test -x $INSTALL_DIR/bin/omniperf + test -s $INSTALL_DIR/libexec/omniperf/VERSION + test -s $INSTALL_DIR/libexec/omniperf/VERSION.sha + test -d $INSTALL_DIR/libexec/omniperf/omniperf_analyze + test -d $INSTALL_DIR/libexec/omniperf/omniperf_profile + test -d $INSTALL_DIR/libexec/omniperf/omniperf_soc + test -d $INSTALL_DIR/libexec/omniperf/utils + test -s $INSTALL_DIR/share/omniperf/sample/vcopy.cpp + test -d $INSTALL_DIR/share/omniperf/modulefiles - name: Query version (setting PYTHONPATH by hand) run: | export PYTHONPATH=${INSTALL_DIR}/python-libs:$PYTHONPATH @@ -98,7 +102,7 @@ jobs: - name: Access omniperf using modulefile run: | . /etc/profile.d/lmod.sh - module use $INSTALL_DIR/modulefiles + module use $INSTALL_DIR/share/omniperf/modulefiles module load omniperf module list omniperf --version