-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
361 changed files
with
183 additions
and
159,716 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 |
---|---|---|
@@ -1,19 +1,59 @@ | ||
name: build-linux | ||
on: [push] | ||
on: | ||
push: | ||
branches: | ||
- master | ||
- develop | ||
pull_request: | ||
branches: | ||
- master | ||
- develop | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
env: | ||
GOPATH: ${{ github.workspace }} | ||
GO111MODULE: auto | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-go@v2 | ||
- name: Install Go | ||
uses: actions/setup-go@v2 | ||
with: | ||
go-version: '^1.13.1' # The Go version to download (if necessary) and use. | ||
- run: go version | ||
- name: Install dependecies | ||
go-version: 1.15.x | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
with: | ||
path: ./src/github.com/${{ github.repository }} | ||
submodules: true | ||
- name: Install apt dependecies | ||
run: | | ||
sudo apt-get install libgit2-dev libssh2-1-dev libssl-dev cmake | ||
- name: Install go deps | ||
run: | | ||
make git2go | ||
go get github.com/mattn/goveralls | ||
go get -d github.com/Masterminds/sprig | ||
- name: Install git2go | ||
run: | | ||
go get -d github.com/libgit2/git2go | ||
cd $GOPATH/src/github.com/libgit2/git2go | ||
git submodule update --init # get libgit2 | ||
cd vendor/libgit2 | ||
mkdir build && cd build | ||
cmake .. | ||
make | ||
sudo make install | ||
cd ../../.. | ||
make install-static | ||
cd $GOPATH | ||
- name: Build | ||
run: | | ||
go get -d ./... | ||
$HOME/gopath/bin/goveralls -v -flags=--tags=static -service=travis-ci | ||
go get -v -d github.com/kilpkonn/gtm-enhanced | ||
cd $GOPATH/src/github.com/kilpkonn/gtm-enhanced | ||
mkdir build | ||
go build -o build/ ./... | ||
cd build/ | ||
mv gtm-enhanced gtm | ||
chmod +x gtm | ||
cd $GOPATH | ||
- uses: actions/upload-artifact@v2 | ||
with: | ||
name: gtm-linux | ||
path: ./src/github.com/${{ github.repository }}/build/ |
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,42 @@ | ||
[submodule "github.com/armon/go-radix"] | ||
path = vendor/github.com/armon/go-radix | ||
url = [email protected]:armon/go-radix | ||
[submodule "github.com/bgentry/speakeasy"] | ||
path = vendor/github.com/bgentry/speakeasy | ||
url = [email protected]:bgentry/speakeasy | ||
[submodule "github.com/briandowns/spinner"] | ||
path = vendor/github.com/briandowns/spinner | ||
url = [email protected]:briandowns/spinner | ||
[submodule "github.com/fatih/color"] | ||
path = vendor/github.com/fatih/color | ||
url = [email protected]:fatih/color | ||
[submodule "github.com/hako/durafmt"] | ||
path = vendor/github.com/hako/durafmt | ||
url = [email protected]:hako/durafmt | ||
[submodule "github.com/hashicorp/go-version"] | ||
path = vendor/github.com/hashicorp/go-version | ||
url = [email protected]:hashicorp/go-version | ||
[submodule "github.com/jinzhu/now"] | ||
path = vendor/github.com/jinzhu/now | ||
url = [email protected]:jinzhu/now | ||
[submodule "github.com/mattn/go-isatty"] | ||
path = vendor/github.com/mattn/go-isatty | ||
url = [email protected]:mattn/go-isatty | ||
[submodule "github.com/mitchellh/cli"] | ||
path = vendor/github.com/mitchellh/cli | ||
url = [email protected]:mitchellh/cli | ||
[submodule "golang.org/x/crypto/ssh/terminal"] | ||
path = vendor/golang.org/x/crypto/ssh/terminal | ||
url = https://go.googlesource.com/crypto | ||
[submodule "github.com/posener/complete"] | ||
path = vendor/github.com/posener/complete | ||
url = [email protected]:posener/complete | ||
[submodule "github.com/hashicorp/go-multierror"] | ||
path = vendor/github.com/hashicorp/go-multierror | ||
url = [email protected]:hashicorp/go-multierror | ||
[submodule "golang.org/x/sys/unix"] | ||
path = vendor/golang.org/x/sys | ||
url = https://go.googlesource.com/sys | ||
[submodule "github.com/hashicorp/errwrap"] | ||
path = vendor/github.com/hashicorp/errwrap | ||
url = [email protected]:hashicorp/errwrap |
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
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
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
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.