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
|
uses: actions/download-artifact@v1
|
||||||
with:
|
with:
|
||||||
name: static-rice-box
|
name: static-rice-box
|
||||||
path: ./source
|
path: /home/runner/work/statping/statping/source
|
||||||
|
|
||||||
- name: Build Linux Binaries
|
- name: Build Linux Binaries
|
||||||
env:
|
env:
|
||||||
|
@ -360,7 +360,7 @@ jobs:
|
||||||
uses: actions/download-artifact@v1
|
uses: actions/download-artifact@v1
|
||||||
with:
|
with:
|
||||||
name: static-rice-box
|
name: static-rice-box
|
||||||
path: ./source
|
path: /home/runner/work/statping/statping/source
|
||||||
|
|
||||||
- name: Build Windows Binaries
|
- name: Build Windows Binaries
|
||||||
env:
|
env:
|
||||||
|
@ -398,7 +398,7 @@ jobs:
|
||||||
uses: actions/download-artifact@v1
|
uses: actions/download-artifact@v1
|
||||||
with:
|
with:
|
||||||
name: static-rice-box
|
name: static-rice-box
|
||||||
path: ./source
|
path: /home/runner/work/statping/statping/source
|
||||||
|
|
||||||
- name: Build MacOSX Binaries
|
- name: Build MacOSX Binaries
|
||||||
env:
|
env:
|
||||||
|
|
3
Makefile
3
Makefile
|
@ -50,13 +50,14 @@ cypress: clean
|
||||||
|
|
||||||
test-api:
|
test-api:
|
||||||
DB_CONN=sqlite DB_HOST=localhost DB_DATABASE=sqlite DB_PASS=none DB_USER=none statping &
|
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:
|
test-deps:
|
||||||
go get golang.org/x/tools/cmd/cover
|
go get golang.org/x/tools/cmd/cover
|
||||||
go get github.com/mattn/goveralls
|
go get github.com/mattn/goveralls
|
||||||
go get github.com/GeertJohan/go.rice/rice
|
go get github.com/GeertJohan/go.rice/rice
|
||||||
go get github.com/mattn/go-sqlite3
|
go get github.com/mattn/go-sqlite3
|
||||||
|
go get github.com/crazy-max/xgo
|
||||||
go install github.com/mattn/go-sqlite3
|
go install github.com/mattn/go-sqlite3
|
||||||
|
|
||||||
deps:
|
deps:
|
||||||
|
|
Loading…
Reference in New Issue