diff --git a/Jenkinsfile b/Jenkinsfile index ddcdc4897..d4cbedbd3 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -65,6 +65,18 @@ pipeline{ sh "scripts/dev_cli.sh tests --integration" } } + stage ('Run unit tests for musl') { + when { branch 'master' } + steps { + sh "scripts/dev_cli.sh tests --unit --libc musl" + } + } + stage ('Run integration tests for musl') { + when { branch 'master' } + steps { + sh "scripts/dev_cli.sh tests --integration --libc musl" + } + } } } } diff --git a/scripts/dev_cli.sh b/scripts/dev_cli.sh index 6e474d8b6..fc8e5afc7 100755 --- a/scripts/dev_cli.sh +++ b/scripts/dev_cli.sh @@ -7,7 +7,7 @@ CLI_NAME="Cloud Hypervisor" CTR_IMAGE_TAG="cloudhypervisor/dev" -CTR_IMAGE_VERSION="v1" +CTR_IMAGE_VERSION="v2" CTR_IMAGE="${CTR_IMAGE_TAG}:${CTR_IMAGE_VERSION}" DOCKER_RUNTIME="docker"