msspec_python3/Jenkinsfile

41 lines
1.1 KiB
Plaintext
Raw Normal View History

pipeline {
agent {label 'msspec_agent_amd64'}
stages {
stage('Initial setup...') {
steps {
echo 'Create or update the virtual Python environment'
sh 'make venv'
}
}
2019-11-21 17:09:19 +01:00
stage('Build the code and generate tests results...') {
2019-11-21 17:09:19 +01:00
steps {
sh '. ./ci_venv/bin/activate && make -C src results'
2019-11-21 17:09:19 +01:00
}
}
stage('Create a setup file and test installation...') {
2019-11-21 17:09:19 +01:00
steps {
sh 'make selfex'
sh '. ./ci_venv/bin/activate && ./package/MsSpec*.setup --accept -- -y'
2019-11-21 17:09:19 +01:00
}
}
stage('Building HTML documentation...') {
steps {
sh '. ./ci_venv/bin/activate && make doc'
2019-11-21 17:09:19 +01:00
}
}
stage('Syncing website...') {
steps {
echo 'Updating the website files'
}
}
stage('Cleaning up...') {
steps {
echo 'Cleaning artifacts...'
sh 'make clean'
2019-11-21 17:09:19 +01:00
}
}
}
}