-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into feature/benchmark/fix_load_test_using_inte…
…rnal_client
- Loading branch information
Showing
50 changed files
with
3,346 additions
and
2,667 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
name: 'Upload artifacts to release' | ||
on: | ||
release: | ||
types: | ||
- created | ||
|
||
jobs: | ||
build-linux: | ||
runs-on: ubuntu-latest | ||
container: | ||
image: vdaas/vald-ci-container:nightly | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 10 | ||
- name: Fetch golang version | ||
run: | | ||
GO_VERSION=`make version/go` | ||
echo "::set-output name=version::${GO_VERSION}" | ||
id: golang_version | ||
- uses: actions/setup-go@v1 | ||
with: | ||
go-version: ${{ steps.golang_version.outputs.version }} | ||
- name: Build and zip | ||
run: | | ||
make binary/build/zip | ||
- name: Upload artifact | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: artifacts-linux | ||
path: ./artifacts/ | ||
# build-macos: ## or using cross-compiler? | ||
# runs-on: macos-latest | ||
# steps: | ||
# - uses: actions/checkout@v2 | ||
# with: | ||
# fetch-depth: 10 | ||
# - name: Fetch golang version | ||
# run: | | ||
# GO_VERSION=`make version/go` | ||
# echo "::set-output name=version::${GO_VERSION}" | ||
# id: golang_version | ||
# - uses: actions/setup-go@v1 | ||
# with: | ||
# go-version: ${{ steps.golang_version.outputs.version }} | ||
# - name: Build and zip | ||
# run: | | ||
# export PATH=$PATH:$(go env GOPATH)/bin | ||
# brew install llvm libomp protobuf ngt | ||
# make CXXFLAGS="-I/usr/local/opt/llvm/include -mno-avx512f -mno-avx512dq -mno-avx512cd -mno-avx512bw -mno-avx512vl" binary/build/zip | ||
# - name: Upload artifact | ||
# uses: actions/upload-artifact@v2 | ||
# with: | ||
# name: artifacts-macos | ||
# path: ./artifacts | ||
publish: | ||
runs-on: ubuntu-latest | ||
needs: | ||
- build-linux | ||
# - build-macos | ||
# - build-windows | ||
steps: | ||
- uses: actions/download-artifact@v2 | ||
with: | ||
name: artifacts-linux | ||
path: tmp/linux | ||
# - uses: actions/download-artifact@v2 | ||
# with: | ||
# name: artifacts-macos | ||
# path: tmp/macos | ||
- uses: shogo82148/actions-upload-release-asset@v1 | ||
with: | ||
upload_url: ${{ github.event.release.upload_url }} | ||
asset_path: tmp/linux/vald-*.zip |
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
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
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
Oops, something went wrong.