---
cache:
  paths:
  - install/boost
  - install/petsc

before_script:
  - tools/install_boost.sh

build:9-debug-gcc:
  stage: build
  image: duneci/base:9
  script:
  - tools/build_amdis.sh Debug
  only:
  - master

build:9-release-gcc:
  stage: build
  image: duneci/base:9
  script:
  - tools/build_amdis.sh Release
  only:
  - master

build:9-parallel-debug-gcc:
  stage: build
  image: duneci/base:9
  script:
  - tools/install_petsc.sh
  - tools/build_parallel_amdis.sh Debug
  only:
  - master

build:9-parallel-release-gcc:
  stage: build
  image: duneci/base:9
  script:
  - tools/install_petsc.sh
  - tools/build_parallel_amdis.sh Release
  only:
  - master
