mirror of
https://github.com/dolthub/dolt.git
synced 2025-12-30 16:12:39 -06:00
Jenkinsfile: Update for fetching submodules.
This commit is contained in:
6
Jenkinsfile
vendored
6
Jenkinsfile
vendored
@@ -17,6 +17,8 @@ pipeline {
|
||||
sh "go get golang.org/x/tools/cmd/goimports"
|
||||
}
|
||||
dir ("go") {
|
||||
sh "git submodule update --init --recursive"
|
||||
|
||||
// Keep this in sync with //go/utils/prepr/prepr.sh.
|
||||
sh "go get -mod=readonly ./..."
|
||||
sh "./utils/repofmt/check_fmt.sh"
|
||||
@@ -42,6 +44,8 @@ pipeline {
|
||||
sh "npm i bats"
|
||||
}
|
||||
dir ("go") {
|
||||
sh "git submodule update --init --recursive"
|
||||
|
||||
sh "go get -mod=readonly ./..."
|
||||
sh "go build -mod=readonly -o ../.ci_bin/dolt ./cmd/dolt/."
|
||||
sh "go build -mod=readonly -o ../.ci_bin/git-dolt ./cmd/git-dolt/."
|
||||
@@ -65,6 +69,8 @@ pipeline {
|
||||
}
|
||||
steps {
|
||||
dir ("go/") {
|
||||
bat "git submodule update --init --recursive"
|
||||
|
||||
bat "go test ./..."
|
||||
bat "go build -mod=readonly -o ..\\.ci_bin\\dolt.exe ./cmd/dolt/."
|
||||
bat "copy /Y ..\\.ci_bin\\dolt.exe ..\\.ci_bin\\dolt"
|
||||
|
||||
Reference in New Issue
Block a user