9
1
mirror of https://github.com/QuantumPackage/qp2.git synced 2024-06-15 09:05:17 +02:00
qp2/drone/compilation.sh
Anthony Scemama 82409d3e73
Some checks reported errors
continuous-integration/drone Build was killed
continuous-integration/drone/push Build was killed
Added drone CI config
2022-04-12 15:49:20 +02:00

17 lines
261 B
Bash
Executable File

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