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.
Bu işleme şunda yer alıyor:
işlemeyi yapan:
GitHub
ebeveyn
fdbafd7757
işleme
1e501dd89a
@@ -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
|
||||
|
||||
@@ -49,6 +49,16 @@ jobs:
|
||||
build-type: ['Release']
|
||||
|
||||
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/
|
||||
|
||||
@@ -59,6 +59,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/
|
||||
@@ -74,7 +84,8 @@ jobs:
|
||||
cd projects/rocprofiler-systems/
|
||||
apt-get update &&
|
||||
apt-get upgrade -y &&
|
||||
apt-get install -y libomp-dev libopenmpi-dev openmpi-bin ${{ matrix.compiler }}
|
||||
apt-get install -y libomp-dev libopenmpi-dev ${{ matrix.compiler }} &&
|
||||
apt-get autoclean
|
||||
|
||||
- name: Test Environment Modules
|
||||
timeout-minutes: 15
|
||||
@@ -214,6 +225,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/
|
||||
@@ -229,7 +250,8 @@ jobs:
|
||||
cd projects/rocprofiler-systems/
|
||||
apt-get update &&
|
||||
apt-get upgrade -y &&
|
||||
apt-get install -y libomp-dev libopenmpi-dev openmpi-bin ${{ matrix.compiler }}
|
||||
apt-get install -y libomp-dev libopenmpi-dev ${{ matrix.compiler }} &&
|
||||
apt-get autoclean
|
||||
|
||||
- name: Install ROCm Packages
|
||||
timeout-minutes: 25
|
||||
@@ -250,6 +272,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
|
||||
echo "/opt/rocm/bin" >> $GITHUB_PATH
|
||||
echo "ROCM_PATH=/opt/rocm" >> $GITHUB_ENV
|
||||
echo "LD_LIBRARY_PATH=/opt/rocm/lib:${LD_LIBRARY_PATH}" >> $GITHUB_ENV
|
||||
@@ -394,6 +417,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/
|
||||
@@ -409,7 +442,8 @@ jobs:
|
||||
cd projects/rocprofiler-systems/
|
||||
apt-get update &&
|
||||
apt-get upgrade -y &&
|
||||
apt-get install -y libomp-dev libmpich-dev mpich
|
||||
apt-get install -y libomp-dev libmpich-dev mpich &&
|
||||
apt-get autoclean
|
||||
|
||||
- name: Configure Env
|
||||
run:
|
||||
|
||||
@@ -54,6 +54,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/
|
||||
@@ -68,7 +78,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 }}
|
||||
@@ -85,6 +96,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
|
||||
|
||||
Yeni konuda referans
Bir kullanıcı engelle