"ts/webui/src/components/fluent/Icon.tsx" did not exist on "c7187946d5a890e888cdb774466a453fdd49c16d"
Commit a8242371 authored by Chris Austen's avatar Chris Austen
Browse files

create post job

parent 11848253
...@@ -7,6 +7,7 @@ def rocmtestnode(Map conf) { ...@@ -7,6 +7,7 @@ def rocmtestnode(Map conf) {
def docker_args = conf.get("docker_args", "") def docker_args = conf.get("docker_args", "")
def docker_build_args = conf.get("docker_build_args", "") def docker_build_args = conf.get("docker_build_args", "")
def pre = conf.get("pre", {}) def pre = conf.get("pre", {})
def post = conf.get("post", {})
def ccache = "/var/jenkins/.cache/ccache" def ccache = "/var/jenkins/.cache/ccache"
def image = 'migraphxlib' def image = 'migraphxlib'
env.CCACHE_COMPRESSLEVEL = 7 env.CCACHE_COMPRESSLEVEL = 7
...@@ -62,6 +63,7 @@ def rocmtestnode(Map conf) { ...@@ -62,6 +63,7 @@ def rocmtestnode(Map conf) {
body(cmake_build) body(cmake_build)
} }
} }
post()
} }
} }
} }
...@@ -102,10 +104,9 @@ def rocmnode(name, body) { ...@@ -102,10 +104,9 @@ def rocmnode(name, body) {
rocmtestnode(variant: label, node: rocmnodename(name), body: body) rocmtestnode(variant: label, node: rocmnodename(name), body: body)
} }
} }
def onnxnode(name, body) {
rocmtest clang_ort: rocmnode('navi') { cmake_build -> return { label ->
stage('ONNX Runtime') { rocmtestnode(variant: label, node: rocmnodename(name), docker_args: '-u root', body: body, post: {
cmake_build(flags: "-DCMAKE_BUILD_TYPE=release -DGPU_TARGETS=\"gfx1030;gfx1100;gfx1101\"")
sh ''' sh '''
apt install half apt install half
env env
...@@ -113,5 +114,12 @@ rocmtest clang_ort: rocmnode('navi') { cmake_build -> ...@@ -113,5 +114,12 @@ rocmtest clang_ort: rocmnode('navi') { cmake_build ->
dpkg -i ./build/*.deb dpkg -i ./build/*.deb
cd /onnxruntime && ./build_and_test_onnxrt.sh cd /onnxruntime && ./build_and_test_onnxrt.sh
''' '''
})
}
}
rocmtest clang_ort: onnxnode('navi') { cmake_build ->
stage('ONNX Runtime') {
cmake_build(flags: "-DCMAKE_BUILD_TYPE=release -DGPU_TARGETS=\"gfx1030;gfx1100;gfx1101\"")
} }
} }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment