diff --git a/.github/workflows/compilation.yml b/.github/workflows/compilation.yml new file mode 100644 index 00000000..c8299a33 --- /dev/null +++ b/.github/workflows/compilation.yml @@ -0,0 +1,54 @@ +name: QP Compilation + +on: + push: + branches: + - master + - dev-stable + pull_request: + branches: + - dev-stable + - master + + +jobs: + + configuration: + runs-on: ubuntu-20.04 + name: Dependencies + + steps: + - name: install dependencies + run: | + sudo apt install gfortran gcc liblapack-dev libblas-dev wget python3 make m4 pkg-config + + compilation: + name: Compilation + runs-on: ubuntu-20.04 + + steps: + - uses: actions/checkout@v3 + - name: Restore configuration + id: restore + uses: actions/cache@v3 + continue-on-error: false + with: + key: qp2-config + fail-on-cache-miss: true + path: | + external/opampack/ + include/ + lib/ + lib64/ + libexec/ + restore-keys: qp2- + - name: Configuration + run: | + ./configure -i ninja docopt resultsFile bats + ./configure -c ./config/gfortran_debug.cfg + - name: Compilation + run: | + bash -c "source quantum_package.rc ; exec ninja" + + + diff --git a/.github/workflows/configuration.yml b/.github/workflows/configuration.yml new file mode 100644 index 00000000..14019e5d --- /dev/null +++ b/.github/workflows/configuration.yml @@ -0,0 +1,66 @@ +name: QP Configuration + +on: + push: + branches: + - master +# - ci + pull_request: + branches: + - master + schedule: + - cron: "23 22 * * 6" + + +jobs: + + configuration: + runs-on: ubuntu-20.04 + name: Dependencies + + steps: + - uses: actions/checkout@v3 + - name: Install dependencies + run: | + sudo apt install gfortran gcc liblapack-dev libblas-dev wget python3 make m4 pkg-config + - name: zlib + run: | + ./configure -i zlib || echo OK + - name: ninja + run: | + ./configure -i ninja || echo OK + - name: zeromq + run: | + ./configure -i zeromq || echo OK + - name: f77zmq + run: | + ./configure -i f77zmq || echo OK + - name: gmp + run: | + ./configure -i gmp || echo OK + - name: ocaml + run: | + ./configure -i ocaml || echo OK + - name: docopt + run: | + ./configure -i docopt || echo OK + - name: resultsFile + run: | + ./configure -i resultsFile || echo OK + - name: bats + run: | + ./configure -i bats || echo OK + - name: Final check + run: | + ./configure -c config/gfortran_debug.cfg + - name: Cache + uses: actions/cache@v3 + with: + key: qp2-config + path: | + external/opampack/ + include/ + lib/ + lib64/ + libexec/ + diff --git a/VERSION b/VERSION index c043eea7..2bf1c1cc 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -2.2.1 +2.3.1