mirror of
https://github.com/clearlinux/graphene.git
synced 2026-09-08 06:41:58 +00:00
* Migrate running unit tests for Linux host to Jenkins. Add a unit test for the Linux host, Debug build * Ignore files generated as part of unit testsing. * A quick and dirty fix for port collisions during CI tests. Come back and do a better job if we continue having problems * For some reason, the PAL Process regression tests fail using the default manifest under a debug build. Go ahead and explicate a template for the Process test.
71 lines
2.4 KiB
Plaintext
71 lines
2.4 KiB
Plaintext
pipeline {
|
|
agent any
|
|
stages {
|
|
stage('Build') {
|
|
steps {
|
|
sh '''
|
|
make clean && make
|
|
'''
|
|
}
|
|
}
|
|
stage('Test') {
|
|
steps {
|
|
sh '''
|
|
cd LibOS/shim/test/apps/gcc
|
|
make regression
|
|
'''
|
|
sh '''
|
|
cd LibOS/shim/test/apps/lmbench
|
|
make regression
|
|
'''
|
|
sh '''
|
|
cd LibOS/shim/test/apps/python
|
|
make regression
|
|
'''
|
|
sh '''
|
|
cd LibOS/shim/test/apps/lighttpd
|
|
make
|
|
make start-graphene-server &
|
|
./benchmark-http.sh 127.0.0.1:8000
|
|
'''
|
|
sh '''
|
|
cd LibOS/shim/test/apps/apache
|
|
make
|
|
make start-graphene-server &
|
|
./benchmark-http.sh 127.0.0.1:8000
|
|
'''
|
|
sh '''
|
|
cd Pal/regression
|
|
make regression
|
|
'''
|
|
sh '''
|
|
cd LibOS/shim/test/regression
|
|
make regression
|
|
'''
|
|
sh '''
|
|
cd LibOS/shim/test/apps/ltp
|
|
make
|
|
./syscalls.sh
|
|
'''
|
|
}
|
|
}
|
|
stage('Deploy') {
|
|
steps {
|
|
sh 'echo Deploying code'
|
|
}
|
|
}
|
|
}
|
|
post {
|
|
success {
|
|
echo 'Deployment successful'
|
|
}
|
|
failure {
|
|
echo 'Failure while on the pipeline'
|
|
}
|
|
unstable {
|
|
echo 'Pipeline marked as "unstable"'
|
|
}
|
|
}
|
|
}
|
|
|