Free runner disk space (#1693)
Motivation: Basic runners are frequently running out of space Technical Details: Running autoclean after package installations. Use the jlumbroso/free-disk-space action.
This commit is contained in:
@@ -55,6 +55,16 @@ jobs:
|
||||
ROCPROFSYS_CI: 'ON'
|
||||
|
||||
steps:
|
||||
- name: Free Disk Space
|
||||
uses: jlumbroso/free-disk-space@v1.3.0
|
||||
with:
|
||||
tool-cache: true
|
||||
android: true
|
||||
dotnet: true
|
||||
haskell: true
|
||||
large-packages: true
|
||||
swap-storage: true
|
||||
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
sparse-checkout: projects/rocprofiler-systems/
|
||||
@@ -69,7 +79,8 @@ jobs:
|
||||
command: |
|
||||
apt-get update &&
|
||||
apt-get upgrade -y &&
|
||||
apt-get install -y libomp-dev libopenmpi-dev openmpi-bin
|
||||
apt-get install -y libomp-dev libopenmpi-dev &&
|
||||
apt-get autoclean
|
||||
|
||||
- name: Install ROCm Packages
|
||||
if: ${{ matrix.rocm-version > 0 }}
|
||||
@@ -86,6 +97,7 @@ jobs:
|
||||
apt-get install -y ./amdgpu-install_${ROCM_MAJOR}.${ROCM_MINOR}.${ROCM_VERSN}-1_all.deb
|
||||
apt-get update
|
||||
apt-get install -y rocm-dev rocdecode-dev libavformat-dev libavcodec-dev
|
||||
apt-get autoclean
|
||||
|
||||
- name: Configure, Build and Test
|
||||
timeout-minutes: 115
|
||||
|
||||
مرجع در شماره جدید
Block a user