Skip to content

Commit

Permalink
Maximize disk space in parse GitHub Action job. Remove unused steps f…
Browse files Browse the repository at this point in the history
…rom CI.
  • Loading branch information
mcserep committed Feb 3, 2024
1 parent 476c356 commit c0c7fd9
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 25 deletions.
5 changes: 0 additions & 5 deletions .github/scripts/ubuntu-20.04/postcompile_runtime.sh

This file was deleted.

7 changes: 0 additions & 7 deletions .github/scripts/ubuntu-20.04/setup_runtime.sh

This file was deleted.

5 changes: 0 additions & 5 deletions .github/scripts/ubuntu-22.04/postcompile_runtime.sh

This file was deleted.

19 changes: 11 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,17 @@ jobs:
- 5432:5432

steps:
- name: Maximize free disk space
uses: easimon/maximize-build-space@v10
with:
root-reserve-mb: 2000
temp-reserve-mb: 100
swap-size-mb: 500
remove-android: 'true'
remove-haskell: 'true'
remove-codeql: 'true'
remove-docker-images: 'true'

- uses: actions/checkout@v3

- name: Update apt-get
Expand Down Expand Up @@ -239,14 +250,6 @@ jobs:
${{ matrix.os }}-compile-install-${{ needs.build.outputs.ubuntu-20-04-compile-hash-key }}
${{ matrix.os }}-compile-install-${{ needs.build.outputs.ubuntu-22-04-compile-hash-key }}
- name: Post compilation configuration (runtime)
if: ${{ env.HAS_COMPILED_DEPENDENCIES == 'true' }}
run: |
if [ -f ./.github/scripts/${{ matrix.os }}/postcompile_runtime.sh ]; then
chmod +x ./.github/scripts/${{ matrix.os }}/postcompile_runtime.sh
./.github/scripts/${{ matrix.os }}/postcompile_runtime.sh
fi
- name: Download CodeCompass binaries
uses: actions/download-artifact@v2
with:
Expand Down

0 comments on commit c0c7fd9

Please sign in to comment.