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
c1b8c975
Unverified
Commit
c1b8c975
authored
Jul 07, 2023
by
Umang Yadav
Committed by
GitHub
Jul 07, 2023
Browse files
Try ROCm Runner (#1897)
* move tidy,cppcheck to rocm-ubuntu runners
parent
a83371ca
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
39 deletions
+6
-39
.github/workflows/ci.yaml
.github/workflows/ci.yaml
+6
-39
No files found.
.github/workflows/ci.yaml
View file @
c1b8c975
...
...
@@ -18,19 +18,8 @@ jobs:
with
:
access_token
:
${{ github.token }}
tidy
:
runs-on
:
ubuntu-20.04
steps
:
-
name
:
Free space
uses
:
jlumbroso/free-disk-space@main
with
:
tool-cache
:
true
android
:
true
dotnet
:
true
haskell
:
true
large-packages
:
true
swap-storage
:
true
runs-on
:
ROCM-Ubuntu
steps
:
-
uses
:
actions/checkout@v3
# In this step, this action saves a list of existing images,
...
...
@@ -71,7 +60,7 @@ jobs:
-DCLANG_TIDY_DEPEND_ON_TARGET=Off \
-DCLANG_TIDY_CACHE=/data/tidy-cache \
..
make -j
2
-k onnx-proto tf-proto tidy
make -j
$(nproc)
-k onnx-proto tf-proto tidy
# GH actions can not update existing cache, as a workaround clear cache and then save it
-
name
:
Clear tidy cache before saving
...
...
@@ -93,20 +82,8 @@ jobs:
cppcheck
:
runs-on
:
ubuntu-20.04
runs-on
:
ROCM-Ubuntu
steps
:
-
name
:
Free space
uses
:
jlumbroso/free-disk-space@main
with
:
tool-cache
:
true
android
:
true
dotnet
:
true
haskell
:
true
large-packages
:
true
swap-storage
:
true
-
uses
:
actions/checkout@v3
# In this step, this action saves a list of existing images,
...
...
@@ -142,7 +119,7 @@ jobs:
-DBUILD_DEV=On \
-DROCM_ENABLE_GH_ANNOTATIONS=On \
..
make -j
2
cppcheck
make -j
$(nproc)
cppcheck
# GH actions can not update existing cache, as a workaround clear cache and then save it
-
name
:
Clear cppcheck cache before saving
...
...
@@ -164,18 +141,8 @@ jobs:
format
:
runs-on
:
ubuntu-20.04
runs-on
:
ROCM-Ubuntu
steps
:
-
name
:
Free space
uses
:
jlumbroso/free-disk-space@main
with
:
tool-cache
:
true
android
:
true
dotnet
:
true
haskell
:
true
large-packages
:
true
swap-storage
:
true
-
uses
:
actions/checkout@v3
# In this step, this action saves a list of existing images,
...
...
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