Skip to content

Commit

Permalink
Added Docker and Jenkins files
Browse files Browse the repository at this point in the history
  • Loading branch information
qSaevar authored and qSaevar committed Jun 28, 2018
1 parent af940df commit cdbb8b3
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 cdbb8b3

Please sign in to comment.