Update CI stage names to include backend label (#150)

This commit is contained in:
Maneesh Gupta
2023-02-01 13:22:14 +05:30
کامیت شده توسط GitHub
والد cc0302dda3
کامیت c8ccf14ec9
+4 -4
مشاهده پرونده
@@ -1,6 +1,6 @@
def hipBuildTest(String backendLabel) { def hipBuildTest(String backendLabel) {
node(backendLabel) { node(backendLabel) {
stage("Source sync ${backendLabel}") { stage("SYNC - ${backendLabel}") {
// Checkout hip repository with the PR patch // Checkout hip repository with the PR patch
dir("${WORKSPACE}/hip-tests") { dir("${WORKSPACE}/hip-tests") {
@@ -37,7 +37,7 @@ def hipBuildTest(String backendLabel) {
} }
} }
stage("Build - Catch2 framework") { stage("BUILD HIP - ${backendLabel}") {
// Running the build on hipamd workspace // Running the build on hipamd workspace
dir("${WORKSPACE}/hipamd") { dir("${WORKSPACE}/hipamd") {
sh """#!/usr/bin/env bash sh """#!/usr/bin/env bash
@@ -56,7 +56,7 @@ def hipBuildTest(String backendLabel) {
} }
} }
stage("Build - HIP TESTS") { stage("BUILD HIP TESTS - ${backendLabel}") {
// Running the build on HIP TESTS workspace // Running the build on HIP TESTS workspace
dir("${WORKSPACE}/hip-tests") { dir("${WORKSPACE}/hip-tests") {
env.HIP_PATH = "${HIPAMD_DIR}" + "/build/install" env.HIP_PATH = "${HIPAMD_DIR}" + "/build/install"
@@ -78,7 +78,7 @@ def hipBuildTest(String backendLabel) {
} }
} }
stage('HIP Unit Tests - Catch2 framework') { stage("TEST - ${backendLabel}") {
dir("${WORKSPACE}/hip-tests") { dir("${WORKSPACE}/hip-tests") {
sh """#!/usr/bin/env bash sh """#!/usr/bin/env bash
set -x set -x