mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-11-30 10:59:32 +08:00
feat: [skip e2e] effective way to use cache (#35232)
issue: https://github.com/milvus-io/milvus/issues/34876 https://github.com/milvus-io/milvus/pull/35109 Signed-off-by: Yellow Shine <sammy.huang@zilliz.com>
This commit is contained in:
parent
8b5e02a464
commit
94bb687e6f
21
.github/workflows/code-checker.yaml
vendored
21
.github/workflows/code-checker.yaml
vendored
@ -52,7 +52,7 @@ jobs:
|
|||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
- name: Download Caches
|
- name: Download Caches
|
||||||
uses: ./.github/actions/cache
|
uses: ./.github/actions/cache-restore
|
||||||
with:
|
with:
|
||||||
os: 'ubuntu22.04'
|
os: 'ubuntu22.04'
|
||||||
- name: Code Check
|
- name: Code Check
|
||||||
@ -60,6 +60,11 @@ jobs:
|
|||||||
OS_NAME: 'ubuntu22.04'
|
OS_NAME: 'ubuntu22.04'
|
||||||
run: |
|
run: |
|
||||||
./build/builder.sh /bin/bash -c "make check-proto-product && make verifiers"
|
./build/builder.sh /bin/bash -c "make check-proto-product && make verifiers"
|
||||||
|
- name: Save Caches
|
||||||
|
uses: ./.github/actions/cache-save
|
||||||
|
if: github.event_name != 'pull_request'
|
||||||
|
with:
|
||||||
|
os: 'ubuntu22.04'
|
||||||
|
|
||||||
amazonlinux:
|
amazonlinux:
|
||||||
if: ${{ false }} # skip for now
|
if: ${{ false }} # skip for now
|
||||||
@ -80,13 +85,18 @@ jobs:
|
|||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
- name: Download Caches
|
- name: Download Caches
|
||||||
uses: ./.github/actions/cache
|
uses: ./.github/actions/cache-restore
|
||||||
with:
|
with:
|
||||||
os: 'amazonlinux2023'
|
os: 'amazonlinux2023'
|
||||||
- name: Code Check
|
- name: Code Check
|
||||||
run: |
|
run: |
|
||||||
sed -i 's/ubuntu22.04/amazonlinux2023/g' .env
|
sed -i 's/ubuntu22.04/amazonlinux2023/g' .env
|
||||||
./build/builder.sh /bin/bash -c "make install"
|
./build/builder.sh /bin/bash -c "make install"
|
||||||
|
- name: Save Caches
|
||||||
|
uses: ./.github/actions/cache-save
|
||||||
|
if: github.event_name != 'pull_request'
|
||||||
|
with:
|
||||||
|
os: 'amazonlinux2023'
|
||||||
|
|
||||||
rockylinux:
|
rockylinux:
|
||||||
if: ${{ false }} # skip for now
|
if: ${{ false }} # skip for now
|
||||||
@ -107,10 +117,15 @@ jobs:
|
|||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
- name: Download Caches
|
- name: Download Caches
|
||||||
uses: ./.github/actions/cache
|
uses: ./.github/actions/cache-restore
|
||||||
with:
|
with:
|
||||||
os: 'rockylinux8'
|
os: 'rockylinux8'
|
||||||
- name: Code Check
|
- name: Code Check
|
||||||
run: |
|
run: |
|
||||||
sed -i 's/ubuntu22.04/rockylinux8/g' .env
|
sed -i 's/ubuntu22.04/rockylinux8/g' .env
|
||||||
./build/builder.sh /bin/bash -c "make install"
|
./build/builder.sh /bin/bash -c "make install"
|
||||||
|
- name: Save Caches
|
||||||
|
uses: ./.github/actions/cache-save
|
||||||
|
if: github.event_name != 'pull_request'
|
||||||
|
with:
|
||||||
|
os: 'rockylinux8'
|
||||||
|
1
.github/workflows/main.yaml
vendored
1
.github/workflows/main.yaml
vendored
@ -311,3 +311,4 @@ jobs:
|
|||||||
name: ubuntu-20.04-unittests
|
name: ubuntu-20.04-unittests
|
||||||
fail_ci_if_error: true
|
fail_ci_if_error: true
|
||||||
disable_safe_directory: true
|
disable_safe_directory: true
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user