diff --git a/.github/workflows/build_test.sh b/.github/workflows/build_test.sh index 532a86344..2770141e7 100755 --- a/.github/workflows/build_test.sh +++ b/.github/workflows/build_test.sh @@ -16,7 +16,7 @@ baseDir=$HOME/work/StereoPipeline installDir=$baseDir/install envPath=/usr/local/miniconda/envs/asp_deps # packageDir will later be uploaded, as set in the yml file -packageDir=$baseDir/packages +packageDir=$baseDir/packages testDir=$baseDir/StereoPipelineTest # Build visionworkbench @@ -59,7 +59,7 @@ cd BinaryBuilder mkdir -p $packageDir mv -fv Stereo* $packageDir -# Extract the tarball +# Extract the tarball so we can test it cd $packageDir tarBall=$(ls StereoPipeline-*OSX.tar.bz2) if [ "$tarBall" == "" ]; then @@ -117,4 +117,8 @@ else echo "Some tests failed" exit 1 fi - \ No newline at end of file + +# Save the resulting test results as part of the artifacts +# This helps with debugging later +mkdir -p $packageDir +cp -rfv $testDir $packageDir