Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 18 additions & 27 deletions .github/workflows/code-checker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,12 @@ jobs:
strategy:
fail-fast: false
steps:
- name: Maximize build space
uses: easimon/maximize-build-space@master
if: ${{ ! startsWith(runner.name, 'self') }} # skip this step if it is self-hosted runner
with:
root-reserve-mb: 20480
swap-size-mb: 1024
remove-dotnet: 'true'
remove-android: 'true'
remove-haskell: 'true'
- name: Free build space
if: ${{ runner.environment == 'github-hosted' }}
run: |
# Keep freed space available to both Docker and the workspace.
sudo rm -rf /usr/share/dotnet /usr/local/lib/android /opt/ghc /usr/local/.ghcup
df -h
- name: Checkout
uses: actions/checkout@v2
- name: Download Caches
Expand All @@ -74,15 +71,12 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 180
steps:
- name: Maximize build space
uses: easimon/maximize-build-space@master
if: ${{ ! startsWith(runner.name, 'self') }} # skip this step if it is self-hosted runner
with:
root-reserve-mb: 20480
swap-size-mb: 1024
remove-dotnet: 'true'
remove-android: 'true'
remove-haskell: 'true'
- name: Free build space
if: ${{ runner.environment == 'github-hosted' }}
run: |
# Keep freed space available to both Docker and the workspace.
sudo rm -rf /usr/share/dotnet /usr/local/lib/android /opt/ghc /usr/local/.ghcup
df -h
- name: Checkout
uses: actions/checkout@v2
- name: Download Caches
Expand All @@ -106,15 +100,12 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 180
steps:
- name: Maximize build space
uses: easimon/maximize-build-space@master
if: ${{ ! startsWith(runner.name, 'self') }} # skip this step if it is self-hosted runner
with:
root-reserve-mb: 20480
swap-size-mb: 1024
remove-dotnet: 'true'
remove-android: 'true'
remove-haskell: 'true'
- name: Free build space
if: ${{ runner.environment == 'github-hosted' }}
run: |
# Keep freed space available to both Docker and the workspace.
sudo rm -rf /usr/share/dotnet /usr/local/lib/android /opt/ghc /usr/local/.ghcup
df -h
- name: Checkout
uses: actions/checkout@v2
- name: Download Caches
Expand Down
60 changes: 24 additions & 36 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,15 +58,12 @@ jobs:
echo "GITHUB_ENV variable is:$GITHUB_ENV"
- name: Setup mold
uses: rui314/setup-mold@v1
- name: Maximize build space
uses: easimon/maximize-build-space@master
if: ${{ ! startsWith(runner.name, 'self') }} # skip this step if it is self-hosted runner
with:
root-reserve-mb: 20480
swap-size-mb: 1024
remove-dotnet: 'true'
remove-android: 'true'
remove-haskell: 'true'
- name: Free build space
if: ${{ runner.environment == 'github-hosted' }}
run: |
# Keep freed space available to both Docker and the workspace.
sudo rm -rf /usr/share/dotnet /usr/local/lib/android /opt/ghc /usr/local/.ghcup
df -h
- name: Checkout
uses: actions/checkout@v2
with:
Expand Down Expand Up @@ -119,15 +116,12 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- name: Maximize build space
uses: easimon/maximize-build-space@master
if: ${{ ! startsWith(runner.name, 'self') }} # skip this step if it is self-hosted runner
with:
root-reserve-mb: 20480
swap-size-mb: 1024
remove-dotnet: 'true'
remove-android: 'true'
remove-haskell: 'true'
- name: Free build space
if: ${{ runner.environment == 'github-hosted' }}
run: |
# Keep freed space available to both Docker and the workspace.
sudo rm -rf /usr/share/dotnet /usr/local/lib/android /opt/ghc /usr/local/.ghcup
df -h
- name: Download code
uses: actions/download-artifact@v4.1.3
with:
Expand Down Expand Up @@ -171,15 +165,12 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 150
steps:
- name: Maximize build space
uses: easimon/maximize-build-space@master
if: ${{ ! startsWith(runner.name, 'self') }} # skip this step if it is self-hosted runner
with:
root-reserve-mb: 20480
swap-size-mb: 1024
remove-dotnet: 'true'
remove-android: 'true'
remove-haskell: 'true'
- name: Free build space
if: ${{ runner.environment == 'github-hosted' }}
run: |
# Keep freed space available to both Docker and the workspace.
sudo rm -rf /usr/share/dotnet /usr/local/lib/android /opt/ghc /usr/local/.ghcup
df -h
- name: Download code
uses: actions/download-artifact@v4.1.3
with:
Expand Down Expand Up @@ -223,15 +214,12 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 150
steps:
- name: Maximize build space
uses: easimon/maximize-build-space@master
if: ${{ ! startsWith(runner.name, 'self') }} # skip this step if it is self-hosted runner
with:
root-reserve-mb: 20480
swap-size-mb: 1024
remove-dotnet: 'true'
remove-android: 'true'
remove-haskell: 'true'
- name: Free build space
if: ${{ runner.environment == 'github-hosted' }}
run: |
# Keep freed space available to both Docker and the workspace.
sudo rm -rf /usr/share/dotnet /usr/local/lib/android /opt/ghc /usr/local/.ghcup
df -h
- name: Download code
uses: actions/download-artifact@v4.1.3
with:
Expand Down
Loading