Unverified Commit c1b8c975 authored by Umang Yadav's avatar Umang Yadav Committed by GitHub
Browse files

Try ROCm Runner (#1897)

* move tidy,cppcheck to rocm-ubuntu runners
parent a83371ca
......@@ -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 -j2 -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 -j2 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,
......
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