mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
build tag ydb since the growth of the binary is 5 mb
This commit is contained in:
parent
7d18b2756d
commit
f58adaab25
4
.github/workflows/go.yml
vendored
4
.github/workflows/go.yml
vendored
|
@ -34,7 +34,7 @@ jobs:
|
||||||
cd weed; go get -v -t -d ./...
|
cd weed; go get -v -t -d ./...
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: cd weed; go build -tags "elastic gocdk sqlite hdfs" -v .
|
run: cd weed; go build -tags "elastic gocdk sqlite hdfs ydb" -v .
|
||||||
|
|
||||||
- name: Test
|
- name: Test
|
||||||
run: cd weed; go test -tags "elastic gocdk sqlite hdfs" -v ./...
|
run: cd weed; go test -tags "elastic gocdk sqlite hdfs ydb" -v ./...
|
||||||
|
|
2
Makefile
2
Makefile
|
@ -8,4 +8,4 @@ install:
|
||||||
cd weed; go install
|
cd weed; go install
|
||||||
|
|
||||||
full_install:
|
full_install:
|
||||||
cd weed; go install -tags "elastic gocdk sqlite hdfs"
|
cd weed; go install -tags "elastic gocdk sqlite hdfs ydb"
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
//go:build ydb
|
||||||
|
// +build ydb
|
||||||
|
|
||||||
package ydb
|
package ydb
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
//go:build ydb
|
||||||
|
// +build ydb
|
||||||
|
|
||||||
package ydb
|
package ydb
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
//go:build ydb
|
||||||
|
// +build ydb
|
||||||
|
|
||||||
package ydb
|
package ydb
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|
Loading…
Reference in a new issue