-if [[ "$(clinfo | grep 'Device Type')" != *"GPU"* ]]; then exit -1; fi
-mvn $MAVEN_CLI_OPTS test
-mvn $MAVEN_CLI_OPTS clean org.jacoco:jacoco-maven-plugin:prepare-agent test jacoco:report'
-mv target target-nvidia-gpu
artifacts:
when:always
reports:
junit:
-target/surefire-reports/TEST-*.xml
-target/failsafe-reports/TEST-*.xml
-target-nvidia-gpu/surefire-reports/TEST-*.xml
-target-nvidia-gpu/failsafe-reports/TEST-*.xml
paths:
-target-nvidia-gpu
tags:
-opencl
...
...
@@ -55,13 +59,16 @@ test-nvidia-cpu:
script:
-clinfo
-if [[ "$(clinfo | grep 'Device Type')" == *"GPU"* ]]; then exit -1; fi
-mvn $MAVEN_CLI_OPTS test
-mvn $MAVEN_CLI_OPTS clean org.jacoco:jacoco-maven-plugin:prepare-agent test jacoco:report'
-mv target target-nvidia-cpu
artifacts:
when:always
reports:
junit:
-target/surefire-reports/TEST-*.xml
-target/failsafe-reports/TEST-*.xml
-target-nvidia-cpu/surefire-reports/TEST-*.xml
-target-nvidia-cpu/failsafe-reports/TEST-*.xml
paths:
-target-nvidia-cpu
tags:
-compute
...
...
@@ -71,13 +78,16 @@ test-amdgpu-cpu:
script:
-clinfo
-if [[ "$(clinfo | grep 'Device Type')" == *"GPU"* ]]; then exit -1; fi
-mvn $MAVEN_CLI_OPTS test
-mvn $MAVEN_CLI_OPTS clean org.jacoco:jacoco-maven-plugin:prepare-agent test jacoco:report'
-mv target target-amdgpu-cpu
artifacts:
when:always
reports:
junit:
-target/surefire-reports/TEST-*.xml
-target/failsafe-reports/TEST-*.xml
-target-amdgpu-cpu/surefire-reports/TEST-*.xml
-target-amdgpu-cpu/failsafe-reports/TEST-*.xml
paths:
-target-amdgpu-cpu
tags:
-compute
...
...
@@ -87,16 +97,44 @@ test-pocl-cpu:
script:
-clinfo
-if [[ "$(clinfo | grep 'Device Type')" == *"GPU"* ]]; then exit -1; fi
-mvn $MAVEN_CLI_OPTS test
-mvn $MAVEN_CLI_OPTS clean org.jacoco:jacoco-maven-plugin:prepare-agent test jacoco:report'
-mv target target-pocl-cpu
artifacts:
when:always
reports:
junit:
-target/surefire-reports/TEST-*.xml
-target/failsafe-reports/TEST-*.xml
-target-pocl-cpu/surefire-reports/TEST-*.xml
-target-pocl-cpu/failsafe-reports/TEST-*.xml
paths:
-target-pocl-cpu
tags:
-compute
coverage:
stage:visualize# Must be in a stage later than test-jdk11's stage. The visualize stage does not exist by default. Please define it first, or chose an existing stage like deploy.