This repository was archived by the owner on Aug 21, 2023. It is now read-only.
Commit 72099b9
authored
Set up CI with Azure Pipelines (#894)
* Set up CI with Azure Pipelines
This commit adds the CI configuration for running sphinx builds in CI. [skip ci]
* Add missing dep and start caching pip
* Install pandoc and graphviz
* Add cvxpy install for aer noise transformations
* Move aqua tutorials that depend on CPLEX to legacy_tutorials
There are 2 aqua tutorials that do not work unless CPLEX is installed.
CPLEX is too involved and difficult to install in CI. It is also
proprietary software which prohibits installing it in CI (since a CI
system can't agree to the license terms). Honestly, I'm not entirely
sure why aqua has modules in it that depend solely on having proprietary
software installed, it feels like there should be an open alternative or
if there is one already the tutorial should leverage that. To make the
docs buildable this commit moves these problematic tutorials to the
legacy directory so they're not built/run by default.
* Workaround terra mpl drawer bug
There is a bug in the mpl drawer in 0.19.0 (and 0.19.1) release where a
custom instruction does not draw without a label parameter set. This
will need to be fixed in terra, but in the meantime this worksaround the
bug by manually setting a label.
* Add texlive to installed packages
* Install correct texlive metapackage with qcircuit
* Correct package name again
* Add another missing binary dep
* Update qcircuit version as packaged version is too old
* Try using tlmgr instead of manually downloading qcircuit
* Try using more from tlmgr instead of apt
* Fix typo
* Use bash directly
* Adjust texlive update script usage
* Give up on tlmgr and try to manual install qcircuit again
* Fix typo
* revert aqua tutorial move and remove latex install
* Remove section of aqua notebook 2 that requires cplex
* Remove another notebook with cplex1 parent 6136aba commit 72099b9
4 files changed
Lines changed: 62 additions & 880 deletions
File tree
- tutorials
- aqua/optimization
- terra/advanced
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
0 commit comments