From 3ae1d8cde1a1392cb8a70d99e1d41fd9d8dd64f7 Mon Sep 17 00:00:00 2001
From: Jeffrey Phillips Freeman <the@jeffreyfreeman.me>
Date: Thu, 1 Oct 2020 11:13:43 -0400
Subject: [PATCH] Created multiple test stages to test against different opencl
 backends.

---
 .gitlab-ci.yml | 19 ++++++++++++++++++-
 1 file changed, 18 insertions(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 05a89fac..0fc0983b 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -33,7 +33,7 @@ build:
   tags:
     - general
 
-test:
+test-nvidia-gpu:
   stage: test
   script:
     - clinfo
@@ -41,6 +41,23 @@ test:
   tags:
     - opencl
 
+test-nvidia-cpu:
+  stage: test
+  script:
+    - clinfo
+    - mvn $MAVEN_CLI_OPTS test
+  tags:
+    - compute
+
+test-amdgpu-cpu:
+  image: aparapi/aparapi-amdgpu:git
+  stage: test
+  script:
+    - clinfo
+    - mvn $MAVEN_CLI_OPTS test
+  tags:
+    - compute
+
 deploy:
   stage: deploy
   script:
-- 
GitLab