diff --git a/.github/workflows/rocprofiler-systems-debian.yml b/.github/workflows/rocprofiler-systems-debian.yml index 541b3617f9..89eb3fa3ac 100644 --- a/.github/workflows/rocprofiler-systems-debian.yml +++ b/.github/workflows/rocprofiler-systems-debian.yml @@ -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 diff --git a/.github/workflows/rocprofiler-systems-redhat.yml b/.github/workflows/rocprofiler-systems-redhat.yml index b1a51808eb..3a5d9ccb37 100644 --- a/.github/workflows/rocprofiler-systems-redhat.yml +++ b/.github/workflows/rocprofiler-systems-redhat.yml @@ -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/ diff --git a/.github/workflows/rocprofiler-systems-ubuntu-jammy.yml b/.github/workflows/rocprofiler-systems-ubuntu-jammy.yml index 77d2a5f66e..86691a4f65 100644 --- a/.github/workflows/rocprofiler-systems-ubuntu-jammy.yml +++ b/.github/workflows/rocprofiler-systems-ubuntu-jammy.yml @@ -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: diff --git a/.github/workflows/rocprofiler-systems-ubuntu-noble.yml b/.github/workflows/rocprofiler-systems-ubuntu-noble.yml index e9f142ca69..e7bcd74a83 100644 --- a/.github/workflows/rocprofiler-systems-ubuntu-noble.yml +++ b/.github/workflows/rocprofiler-systems-ubuntu-noble.yml @@ -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