forked from milvus-io/milvus
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/master' into HEAD
- Loading branch information
Showing
1,360 changed files
with
78,452 additions
and
31,085 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
name: 'Milvus Cache' | ||
description: '' | ||
runs: | ||
using: "composite" | ||
steps: | ||
- name: 'Generate CCache Hash' | ||
env: | ||
CORE_HASH: ${{ hashFiles( 'internal/core/**/*.cpp', 'internal/core/**/*.cc', 'internal/core/**/*.c', 'internal/core/**/*.h', 'internal/core/**/*.hpp', 'internal/core/**/CMakeLists.txt') }} | ||
run: | | ||
echo "corehash=${CORE_HASH}" >> $GITHUB_ENV | ||
echo "Set CCache hash to ${CORE_HASH}" | ||
shell: bash | ||
- name: Mac Cache CCache Volumes | ||
uses: actions/cache/restore@v4 | ||
with: | ||
path: /var/tmp/ccache | ||
key: macos-ccache-${{ env.corehash }} | ||
restore-keys: macos-ccache- | ||
- name: Mac Cache Go Mod Volumes | ||
uses: actions/cache/restore@v4 | ||
with: | ||
path: ~/go/pkg/mod | ||
key: macos-go-mod-${{ hashFiles('**/go.sum') }} | ||
restore-keys: macos-go-mod- | ||
- name: Mac Cache Conan Packages | ||
uses: actions/cache/restore@v4 | ||
with: | ||
path: ~/.conan | ||
key: macos-conan-${{ hashFiles('internal/core/conanfile.*') }} | ||
restore-keys: macos-conan- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
name: 'Milvus Cache' | ||
description: '' | ||
inputs: | ||
os: | ||
description: 'OS name' | ||
required: true | ||
default: 'ubuntu20.04' | ||
kind: | ||
description: 'Cache kind' | ||
required: false | ||
default: 'all' | ||
runs: | ||
using: "composite" | ||
steps: | ||
- name: Generate CCache Hash | ||
env: | ||
CORE_HASH: ${{ hashFiles( 'internal/core/**/*.cpp', 'internal/core/**/*.cc', 'internal/core/**/*.c', 'internal/core/**/*.h', 'internal/core/**/*.hpp', 'internal/core/**/CMakeLists.txt') }} | ||
run: | | ||
echo "corehash=${CORE_HASH}" >> $GITHUB_ENV | ||
echo "Set CCache hash to ${CORE_HASH}" | ||
shell: bash | ||
- name: Mac Cache CCache Volumes | ||
uses: actions/cache/save@v4 | ||
with: | ||
path: /var/tmp/ccache | ||
key: macos-ccache-${{ env.corehash }} | ||
restore-keys: macos-ccache- | ||
- name: Mac Cache Go Mod Volumes | ||
uses: actions/cache/save@v4 | ||
with: | ||
path: ~/go/pkg/mod | ||
key: macos-go-mod-${{ hashFiles('**/go.sum') }} | ||
restore-keys: macos-go-mod- | ||
- name: Mac Cache Conan Packages | ||
uses: actions/cache/save@v4 | ||
with: | ||
path: ~/.conan | ||
key: macos-conan-${{ hashFiles('internal/core/conanfile.*') }} | ||
restore-keys: macos-conan- | ||
|
Oops, something went wrong.