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
|
||||
uses: actions/checkout@v2
|
||||
- name: Download Caches
|
||||
uses: ./.github/actions/cache
|
||||
uses: ./.github/actions/cache-restore
|
||||
with:
|
||||
os: 'ubuntu22.04'
|
||||
- name: Code Check
|
||||
@ -60,6 +60,11 @@ jobs:
|
||||
OS_NAME: 'ubuntu22.04'
|
||||
run: |
|
||||
./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:
|
||||
if: ${{ false }} # skip for now
|
||||
@ -80,13 +85,18 @@ jobs:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
- name: Download Caches
|
||||
uses: ./.github/actions/cache
|
||||
uses: ./.github/actions/cache-restore
|
||||
with:
|
||||
os: 'amazonlinux2023'
|
||||
- name: Code Check
|
||||
run: |
|
||||
sed -i 's/ubuntu22.04/amazonlinux2023/g' .env
|
||||
./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:
|
||||
if: ${{ false }} # skip for now
|
||||
@ -107,10 +117,15 @@ jobs:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
- name: Download Caches
|
||||
uses: ./.github/actions/cache
|
||||
uses: ./.github/actions/cache-restore
|
||||
with:
|
||||
os: 'rockylinux8'
|
||||
- name: Code Check
|
||||
run: |
|
||||
sed -i 's/ubuntu22.04/rockylinux8/g' .env
|
||||
./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
|
||||
fail_ci_if_error: true
|
||||
disable_safe_directory: true
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user