45 lines
1.2 KiB
Groovy
45 lines
1.2 KiB
Groovy
pipeline {
|
|
agent {label 'msspec_agent_amd64'}
|
|
stages {
|
|
stage('Initial setup...') {
|
|
steps {
|
|
echo 'Create or update the virtual Python environment'
|
|
sh 'make venv VERBOSE=1'
|
|
}
|
|
}
|
|
|
|
stage('Build the code and generate tests results...') {
|
|
steps {
|
|
sh '. ./ci_venv/bin/activate && make -C src results VERBOSE=1 PYTHONPATH=$PWD/src'
|
|
}
|
|
}
|
|
stage('Create a setup file...') {
|
|
steps {
|
|
sh '. ~/.profile && make selfex VERBOSE=1 PYTHONPATH=$PWD/src'
|
|
}
|
|
}
|
|
stage('Test installation...') {
|
|
steps {
|
|
sh '. ./ci_venv/bin/activate && cd ./package/ && ./MsSpec*.setup --accept -- -y -d'
|
|
}
|
|
}
|
|
stage('Building HTML documentation...') {
|
|
steps {
|
|
sh '. ./ci_venv/bin/activate && make doc VERBOSE=1'
|
|
}
|
|
}
|
|
stage('Syncing website...') {
|
|
steps {
|
|
echo 'Updating the website files'
|
|
}
|
|
}
|
|
stage('Cleaning up...') {
|
|
steps {
|
|
echo 'Cleaning artifacts...'
|
|
sh 'make clean VERBOSE=1'
|
|
}
|
|
}
|
|
|
|
}
|
|
}
|