Skip to content

Commit

Permalink
Merge pull request #9 from qSaevar/master
Browse files Browse the repository at this point in the history
Added Docker and Jenkins files
  • Loading branch information
imranashraf authored Jun 28, 2018
2 parents af940df + cdbb8b3 commit 8d66da7
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Dockerfile.build
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
FROM ubuntu:16.04

RUN apt-get update && \
apt-get -y install g++ autoconf make
23 changes: 23 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@

pipeline {
agent {
dockerfile {
filename 'Dockerfile.build'
}
}
stages {
stage('Build') {
steps {
sh 'pwd'
sh 'cd src/ && ./configure && make && make install'
}
}
stage('Test') {
steps {
sh 'cd src/ && ./qx_simulator circuits/epr.qc'

}
}

}
}

0 comments on commit 8d66da7

Please sign in to comment.