mirror of https://github.com/milvus-io/milvus.git
enhance: Maximize build space at the begin (#30540)
Signed-off-by: Sammy Huang <sammy.huang@zilliz.com>pull/30549/head
parent
5449e862d5
commit
d097d558b6
|
@ -99,6 +99,15 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
timeout-minutes: 60
|
timeout-minutes: 60
|
||||||
steps:
|
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: Download code
|
- name: Download code
|
||||||
uses: actions/download-artifact@v3.0.1
|
uses: actions/download-artifact@v3.0.1
|
||||||
with:
|
with:
|
||||||
|
@ -136,6 +145,15 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
timeout-minutes: 60
|
timeout-minutes: 60
|
||||||
steps:
|
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: Download code
|
- name: Download code
|
||||||
uses: actions/download-artifact@v3.0.1
|
uses: actions/download-artifact@v3.0.1
|
||||||
with:
|
with:
|
||||||
|
@ -172,6 +190,15 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
timeout-minutes: 60
|
timeout-minutes: 60
|
||||||
steps:
|
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: Download code
|
- name: Download code
|
||||||
uses: actions/download-artifact@v3.0.1
|
uses: actions/download-artifact@v3.0.1
|
||||||
with:
|
with:
|
||||||
|
|
Loading…
Reference in New Issue