mirror of https://github.com/milvus-io/milvus.git
enhance: clean .github/workflow/main.yaml (#29524)
Signed-off-by: Sammy Huang <sammy.huang@zilliz.com>pull/29895/head
parent
27992e12dc
commit
0b3b753ef6
|
@ -41,19 +41,16 @@ concurrency:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
Build:
|
Build:
|
||||||
name: Build and test AMD64 Ubuntu ${{ matrix.ubuntu }}
|
name: Build and test AMD64 Ubuntu 20.04
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
timeout-minutes: 180
|
timeout-minutes: 180
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
|
||||||
ubuntu: [20.04]
|
|
||||||
env:
|
env:
|
||||||
UBUNTU: ${{ matrix.ubuntu }}
|
UBUNTU: 20.04
|
||||||
steps:
|
steps:
|
||||||
- name: Setup mold
|
- name: Setup mold
|
||||||
uses: rui314/setup-mold@v1
|
uses: rui314/setup-mold@v1
|
||||||
|
|
||||||
- name: Maximize build space
|
- name: Maximize build space
|
||||||
uses: easimon/maximize-build-space@master
|
uses: easimon/maximize-build-space@master
|
||||||
if: ${{ ! startsWith(runner.name, 'self') }} # skip this step if it is self-hosted runner
|
if: ${{ ! startsWith(runner.name, 'self') }} # skip this step if it is self-hosted runner
|
||||||
|
@ -110,10 +107,8 @@ jobs:
|
||||||
timeout-minutes: 60
|
timeout-minutes: 60
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
|
||||||
ubuntu: [20.04]
|
|
||||||
env:
|
env:
|
||||||
UBUNTU: ${{ matrix.ubuntu }}
|
UBUNTU: 20.04
|
||||||
steps:
|
steps:
|
||||||
- name: Download Artifact
|
- name: Download Artifact
|
||||||
uses: actions/download-artifact@v4.1.0
|
uses: actions/download-artifact@v4.1.0
|
||||||
|
@ -150,10 +145,8 @@ jobs:
|
||||||
timeout-minutes: 60
|
timeout-minutes: 60
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
|
||||||
ubuntu: [20.04]
|
|
||||||
env:
|
env:
|
||||||
UBUNTU: ${{ matrix.ubuntu }}
|
UBUNTU: 20.04
|
||||||
steps:
|
steps:
|
||||||
- name: Download Artifact
|
- name: Download Artifact
|
||||||
uses: actions/download-artifact@v4.1.0
|
uses: actions/download-artifact@v4.1.0
|
||||||
|
@ -189,10 +182,8 @@ jobs:
|
||||||
timeout-minutes: 60
|
timeout-minutes: 60
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
|
||||||
ubuntu: [20.04]
|
|
||||||
env:
|
env:
|
||||||
UBUNTU: ${{ matrix.ubuntu }}
|
UBUNTU: 20.04
|
||||||
steps:
|
steps:
|
||||||
- name: Download Artifact
|
- name: Download Artifact
|
||||||
uses: actions/download-artifact@v4.1.0
|
uses: actions/download-artifact@v4.1.0
|
||||||
|
@ -241,7 +232,6 @@ jobs:
|
||||||
- name: Display structure of code coverage results
|
- name: Display structure of code coverage results
|
||||||
run: |
|
run: |
|
||||||
ls -lah
|
ls -lah
|
||||||
|
|
||||||
- name: Upload coverage to Codecov
|
- name: Upload coverage to Codecov
|
||||||
if: "github.repository == 'milvus-io/milvus'"
|
if: "github.repository == 'milvus-io/milvus'"
|
||||||
uses: codecov/codecov-action@v3.1.1
|
uses: codecov/codecov-action@v3.1.1
|
||||||
|
@ -258,5 +248,5 @@ jobs:
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.CODECOV_TOKEN }}
|
token: ${{ secrets.CODECOV_TOKEN }}
|
||||||
files: ./go_coverage.txt,./lcov_output.info,./it_coverage.txt
|
files: ./go_coverage.txt,./lcov_output.info,./it_coverage.txt
|
||||||
name: ubuntu-${{ matrix.ubuntu }}-unittests
|
name: ubuntu-20.04-unittests
|
||||||
fail_ci_if_error: true
|
fail_ci_if_error: true
|
||||||
|
|
Loading…
Reference in New Issue