mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
[skip e2e] Add centos build (#16264)
Signed-off-by: Jenny Li <jing.li@zilliz.com>
This commit is contained in:
parent
ad9a2217ae
commit
56c0ea9b1d
32
.github/workflows/code-checker.yaml
vendored
32
.github/workflows/code-checker.yaml
vendored
@ -111,6 +111,38 @@ jobs:
|
||||
fi
|
||||
brew install boost libomp ninja tbb ccache
|
||||
make check-proto-product && make verifiers
|
||||
centos:
|
||||
name: Code Checker CentOS 7
|
||||
# Run in centos docker
|
||||
runs-on: ubuntu-18.04
|
||||
timeout-minutes: 60
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
- name: Cache CCache Volumes
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: .docker/amd64-centos7-ccache
|
||||
key: centos7-ccache-${{ hashFiles('internal/core/**') }}
|
||||
restore-keys: centos7-ccache-
|
||||
- name: Cache Third Party
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: .docker/thirdparty
|
||||
key: centos7-thirdparty-${{ hashFiles('internal/core/**') }}
|
||||
restore-keys: centos7-thirdparty-
|
||||
- name: Cache Go Mod Volumes
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: .docker/amd64-centos7-go-mod
|
||||
key: centos7-go-mod-${{ hashFiles('**/go.sum') }}
|
||||
restore-keys: centos7-go-mod-
|
||||
- name: Code Check
|
||||
env:
|
||||
CHECK_BUILDER: "1"
|
||||
OS_NAME: "centos7"
|
||||
run: |
|
||||
./build/builder.sh /bin/bash -c "make install"
|
||||
mingw64:
|
||||
name: ${{ matrix.name }}
|
||||
runs-on: ${{ matrix.os }}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user