Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gaoqiong
MIGraphX
Commits
0de83695
"test/quantization.cpp" did not exist on "aaf8ed08cb550e2ca5f29ba329e1774d3496e7bc"
Commit
0de83695
authored
Apr 23, 2018
by
Paul
Browse files
Use rocmtest
parent
978e5ae3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
Jenkinsfile
Jenkinsfile
+4
-4
No files found.
Jenkinsfile
View file @
0de83695
...
@@ -66,7 +66,7 @@ def rocmnode(body) {
...
@@ -66,7 +66,7 @@ def rocmnode(body) {
}
}
// Static checks
// Static checks
rocmtest
tidy:
rocmnode
(
'rocm'
)
{
cmake_build
->
rocmtest
tidy:
rocmnode
(
'rocm
test
'
)
{
cmake_build
->
stage
(
'Clang Tidy'
)
{
stage
(
'Clang Tidy'
)
{
sh
'''
sh
'''
rm -rf build
rm -rf build
...
@@ -76,7 +76,7 @@ rocmtest tidy: rocmnode('rocm') { cmake_build ->
...
@@ -76,7 +76,7 @@ rocmtest tidy: rocmnode('rocm') { cmake_build ->
make -j8 -k analyze
make -j8 -k analyze
'''
'''
}
}
},
format:
rocmnode
(
'rocm'
)
{
cmake_build
->
},
format:
rocmnode
(
'rocm
test
'
)
{
cmake_build
->
stage
(
'Clang Format'
)
{
stage
(
'Clang Format'
)
{
sh
'''
sh
'''
find . -iname \'*.h\' \
find . -iname \'*.h\' \
...
@@ -90,14 +90,14 @@ rocmtest tidy: rocmnode('rocm') { cmake_build ->
...
@@ -90,14 +90,14 @@ rocmtest tidy: rocmnode('rocm') { cmake_build ->
| xargs -n 1 -P 1 -I{} -t sh -c \'clang-format-5.0 -style=file {} | diff - {}\'
| xargs -n 1 -P 1 -I{} -t sh -c \'clang-format-5.0 -style=file {} | diff - {}\'
'''
'''
}
}
},
clang:
rocmnode
(
'rocm'
)
{
cmake_build
->
},
clang:
rocmnode
(
'rocm
test
'
)
{
cmake_build
->
stage
(
'Clang Debug'
)
{
stage
(
'Clang Debug'
)
{
cmake_build
(
'clang++-5.0'
,
'-DCMAKE_BUILD_TYPE=debug'
)
cmake_build
(
'clang++-5.0'
,
'-DCMAKE_BUILD_TYPE=debug'
)
}
}
stage
(
'Clang Release'
)
{
stage
(
'Clang Release'
)
{
cmake_build
(
'clang++-5.0'
,
'-DCMAKE_BUILD_TYPE=release'
)
cmake_build
(
'clang++-5.0'
,
'-DCMAKE_BUILD_TYPE=release'
)
}
}
},
gcc:
rocmnode
(
'rocm'
)
{
cmake_build
->
},
gcc:
rocmnode
(
'rocm
test
'
)
{
cmake_build
->
stage
(
'GCC Debug'
)
{
stage
(
'GCC Debug'
)
{
cmake_build
(
'g++-5'
,
'-DCMAKE_BUILD_TYPE=debug'
)
cmake_build
(
'g++-5'
,
'-DCMAKE_BUILD_TYPE=debug'
)
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment