Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
gaoqiong
MIGraphX
Commits
0de83695
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) {
}
// Static checks
rocmtest
tidy:
rocmnode
(
'rocm'
)
{
cmake_build
->
rocmtest
tidy:
rocmnode
(
'rocm
test
'
)
{
cmake_build
->
stage
(
'Clang Tidy'
)
{
sh
'''
rm -rf build
...
...
@@ -76,7 +76,7 @@ rocmtest tidy: rocmnode('rocm') { cmake_build ->
make -j8 -k analyze
'''
}
},
format:
rocmnode
(
'rocm'
)
{
cmake_build
->
},
format:
rocmnode
(
'rocm
test
'
)
{
cmake_build
->
stage
(
'Clang Format'
)
{
sh
'''
find . -iname \'*.h\' \
...
...
@@ -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 - {}\'
'''
}
},
clang:
rocmnode
(
'rocm'
)
{
cmake_build
->
},
clang:
rocmnode
(
'rocm
test
'
)
{
cmake_build
->
stage
(
'Clang Debug'
)
{
cmake_build
(
'clang++-5.0'
,
'-DCMAKE_BUILD_TYPE=debug'
)
}
stage
(
'Clang Release'
)
{
cmake_build
(
'clang++-5.0'
,
'-DCMAKE_BUILD_TYPE=release'
)
}
},
gcc:
rocmnode
(
'rocm'
)
{
cmake_build
->
},
gcc:
rocmnode
(
'rocm
test
'
)
{
cmake_build
->
stage
(
'GCC 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