-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #34 from QE-Lab/develop
Prepare release 0.2beta
- Loading branch information
Showing
119 changed files
with
5,644 additions
and
7,991 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
[submodule "src/parser/libqasm"] | ||
path = src/parser/libqasm | ||
url = [email protected]:QE-Lab/libqasm.git | ||
branch = develop |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM ubuntu:16.04 | ||
|
||
RUN apt-get update && \ | ||
apt-get -y install g++ cmake make | ||
apt-get -y install g++ cmake make git python3 python3-dev bison flex swig |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,45 @@ | ||
|
||
pipeline { | ||
agent { | ||
dockerfile { | ||
filename 'Dockerfile.build' | ||
agent any | ||
environment { | ||
PERSIST_WORKSPACE = "" | ||
} | ||
stages { | ||
stage('Checkout submodules') { | ||
steps { | ||
script { | ||
PERSIST_WORKSPACE = WORKSPACE | ||
} | ||
sh 'pwd' | ||
sh 'GIT_SSH_COMMAND="ssh -i /var/jenkins_home/.ssh/jenkins_libqasm_deploy_id_rsa" git submodule update --init -- src/parser/libqasm' | ||
sh 'cd src/parser/libqasm/ && git submodule update --init -- qasm_flex_bison/test/doctest' | ||
} | ||
} | ||
} | ||
stages { | ||
stage('Build') { | ||
agent { | ||
dockerfile { | ||
filename 'Dockerfile.build' | ||
} | ||
} | ||
steps { | ||
sh 'pwd' | ||
sh 'mkdir build && cd build && cmake ../ && make' | ||
dir(PERSIST_WORKSPACE) { | ||
sh 'pwd' | ||
sh 'mkdir build && cd build && cmake ../ && make' | ||
} | ||
} | ||
} | ||
stage('Test') { | ||
agent { | ||
dockerfile { | ||
filename 'Dockerfile.build' | ||
} | ||
} | ||
steps { | ||
sh 'for file in src/circuits/*.qc; do build/bin/qx-simulator/qx-simulator "$file"; done' | ||
|
||
dir(PERSIST_WORKSPACE) { | ||
sh 'for file in tests/circuits/*.qc; do build/bin/qx-simulator "$file"; done' | ||
} | ||
} | ||
} | ||
|
||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ | |
/ /___/ / _> < _\ \ _/ / / /|_/ / / /_/ / / /__ / __ | / / / /_/ / / , _/ | ||
\______/\__\ /_/|_| /___/ /___/ /_/ /_/ \____/ /____//_/ |_|/_/ \____/ /_/|_| | ||
|
||
version 0.1 beta - QuTech - 2016 - report bugs and suggestions to: [email protected] | ||
version 0.2 beta - QuTech - 2018 - report bugs and suggestions to: [email protected] | ||
=================================================================================================== | ||
|
||
|
||
|
Oops, something went wrong.