This repository has been archived on 2024-04-22. You can view files and clone it, but cannot push or open issues or pull requests.
2019-01-06 22:56:03 +00:00
|
|
|
pipeline {
|
|
|
|
agent any
|
|
|
|
|
|
|
|
stages {
|
|
|
|
stage('Build Docker') {
|
|
|
|
steps {
|
2019-07-20 20:12:40 +00:00
|
|
|
sh 'cp src/patches/thy_output.ML .ci/isabelle4isadof/'
|
2019-01-06 22:56:03 +00:00
|
|
|
sh 'docker build -t logicalhacking:isabelle4dof .ci/isabelle4isadof'
|
|
|
|
sh 'rm -f .ci/isabelle4isadof/thy_output.ML'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
stage('Check Docker') {
|
2019-07-20 20:12:40 +00:00
|
|
|
when { changeset "src/patches/*" }
|
2019-01-06 22:56:03 +00:00
|
|
|
steps {
|
2019-07-20 20:12:40 +00:00
|
|
|
sh 'cp src/patches/thy_output.ML .ci/isabelle4isadof/'
|
2019-01-06 22:56:03 +00:00
|
|
|
sh 'docker build --no-cache -t logicalhacking:isabelle4dof .ci/isabelle4isadof'
|
|
|
|
sh 'rm -f .ci/isabelle4isadof/thy_output.ML'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
stage('Build Isabelle/DOF') {
|
|
|
|
steps {
|
2019-07-20 21:30:31 +00:00
|
|
|
sh 'find -type d -name "output" -exec rm -rf {} \\; || true'
|
2019-01-06 23:12:23 +00:00
|
|
|
sh 'docker run -v $PWD:/DOF logicalhacking:isabelle4dof sh -c "cd /DOF && ./install && isabelle build -D ."'
|
2019-01-06 22:56:03 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|