10
0
mirror of https://github.com/QuantumPackage/qp2.git synced 2024-07-03 18:06:04 +02:00
QuantumPackage/travis/compilation.sh
Anthony Scemama 6c6070e818
Travis with stages (#128)
* Travis in stages

* Changed ubuntu to bionic

* updated travis scripts
2020-08-24 14:01:56 +02:00

18 lines
247 B
Bash
Executable File

#!/bin/bash
# Stage 2
# Extract cache from config stage
cd ../
tar -zxf $HOME/cache/config.tgz
rm $HOME/cache/config.tgz
# Configure QP2
cd qp2
source ./quantum_package.rc
ninja -j 1 -v
# Create cache
cd ..
tar -zcf $HOME/cache/compil.tgz qp2