Update CI to test multiple python versions (#45)

* Update CI to test multiple python versions

* Ensure numpy is installed

* Handle lulesh with cmake < 3.16

* Fix typo

* Bump minimum CMake version to 3.16

- CMake 3.15 has issue with PTL object library

* Tweak CI test output
This commit is contained in:
Jonathan R. Madsen
2022-04-22 03:05:07 -05:00
committed by GitHub
parent 77703ef4f1
commit 22eaa780ec
12 changed files with 71 additions and 20 deletions
+12 -1
View File
@@ -5,7 +5,8 @@ set -e
: ${DISTRO:=ubuntu}
: ${VERSIONS:=20.04 18.04}
: ${NJOBS=$(nproc)}
: ${ELFUTILS_VERSION:=0.183}
: ${ELFUTILS_VERSION:=0.186}
: ${PUSH:=0}
send-error()
{
@@ -39,6 +40,9 @@ do
shift
ELFUTILS_VERSION=${1}
;;
"--push")
PUSH=1
;;
*)
send-error "Unsupported argument at position $((${n} + 1)) :: ${1}"
;;
@@ -77,4 +81,11 @@ do
--build-arg ELFUTILS_DOWNLOAD_VERSION=${ELFUTILS_VERSION}
done
if [ "${PUSH}" -gt 0 ]; then
for VERSION in ${VERSIONS}
do
verbose-run docker push jrmadsen/omnitrace-ci:${DISTRO}-${VERSION}
done
fi
verbose-run rm -rf ./dyninst-source