From b47a5274535afbed40a440b5eb762e3d38472916 Mon Sep 17 00:00:00 2001
From: Lars Bilke <lars.bilke@ufz.de>
Date: Wed, 27 May 2020 13:02:44 +0200
Subject: [PATCH] [CI] Added petsc job on envinf1.

---
 .gitlab-ci.yml                        | 1 +
 scripts/ci/jobs/build-linux-petsc.yml | 9 +++++++++
 2 files changed, 10 insertions(+)
 create mode 100644 scripts/ci/jobs/build-linux-petsc.yml

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 4bee3e2511f..f1ddaeee39c 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -34,6 +34,7 @@ include:
   - local: '/scripts/ci/jobs/pre-commit.yml'
   - local: '/scripts/ci/jobs/build_image.yml'
   - local: '/scripts/ci/jobs/build-linux.yml'
+  - local: '/scripts/ci/jobs/build-linux-petsc.yml'
   - local: '/scripts/ci/jobs/build-linux-frontend.yml'
   - local: '/scripts/ci/jobs/build-docs.yml'
   - local: '/scripts/ci/jobs/build-win.yml'
diff --git a/scripts/ci/jobs/build-linux-petsc.yml b/scripts/ci/jobs/build-linux-petsc.yml
new file mode 100644
index 00000000000..58983df2918
--- /dev/null
+++ b/scripts/ci/jobs/build-linux-petsc.yml
@@ -0,0 +1,9 @@
+build linux petsc:
+  extends: .template-build-linux
+  tags:
+    - envinf1
+    - docker-shell
+
+  variables:
+    BUILD_DIR: "build-petsc"
+    CMAKE_ARGS: "-DOGS_USE_CONAN=OFF -DOGS_USE_PETSC=ON -DBUILD_SHARED_LIBS=ON"
-- 
GitLab