mirror of https://github.com/statping/statping
attempt to use GH actions and xgo to build binaries
parent
65d654b86d
commit
0ad1f82613
|
@ -322,7 +322,7 @@ jobs:
|
|||
uses: actions/download-artifact@v1
|
||||
with:
|
||||
name: static-rice-box
|
||||
path: ./source
|
||||
path: /home/runner/work/statping/statping/source
|
||||
|
||||
- name: Build Linux Binaries
|
||||
env:
|
||||
|
@ -360,7 +360,7 @@ jobs:
|
|||
uses: actions/download-artifact@v1
|
||||
with:
|
||||
name: static-rice-box
|
||||
path: ./source
|
||||
path: /home/runner/work/statping/statping/source
|
||||
|
||||
- name: Build Windows Binaries
|
||||
env:
|
||||
|
@ -398,7 +398,7 @@ jobs:
|
|||
uses: actions/download-artifact@v1
|
||||
with:
|
||||
name: static-rice-box
|
||||
path: ./source
|
||||
path: /home/runner/work/statping/statping/source
|
||||
|
||||
- name: Build MacOSX Binaries
|
||||
env:
|
||||
|
|
3
Makefile
3
Makefile
|
@ -50,13 +50,14 @@ cypress: clean
|
|||
|
||||
test-api:
|
||||
DB_CONN=sqlite DB_HOST=localhost DB_DATABASE=sqlite DB_PASS=none DB_USER=none statping &
|
||||
sleep 5000 && newman run source/tmpl/postman.json -e dev/postman_environment.json --delay-request 500
|
||||
sleep 5000 && newman run dev/postman.json -e dev/postman_environment_sqlite.json --delay-request 500
|
||||
|
||||
test-deps:
|
||||
go get golang.org/x/tools/cmd/cover
|
||||
go get github.com/mattn/goveralls
|
||||
go get github.com/GeertJohan/go.rice/rice
|
||||
go get github.com/mattn/go-sqlite3
|
||||
go get github.com/crazy-max/xgo
|
||||
go install github.com/mattn/go-sqlite3
|
||||
|
||||
deps:
|
||||
|
|
Loading…
Reference in New Issue