travis: AppImage generation

This commit is contained in:
Guillaume Ballet 2019-11-06 17:11:15 +01:00
parent de2259d27c
commit 1d27a849fb
3 changed files with 25 additions and 0 deletions

View file

@ -66,6 +66,24 @@ jobs:
- go run build/ci.go install
- go run build/ci.go test -coverage $TEST_PACKAGES
- stage: build
# if: type = push
os: linux
dist: xenial
go: 1.13.x
git:
submodules: false
script:
- wget https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage
- go build ./cmd/geth/...
- mkdir appdir
- cp geth appdir/AppRun
- cp geth.desktop appdir
- cp geth.png appdir
- chmod +x appimagetool-x86_64.AppImage
- ./appimagetool-x86_64.AppImage ./appdir geth.AppImage
- rm -rf appdir
# This builder does the Ubuntu PPA upload
- stage: build
if: type = push

7
geth.desktop Normal file
View file

@ -0,0 +1,7 @@
[Desktop Entry]
Name="Go Ethereum Client"
Terminal=true
Type=Application
Comment="An Ethereum client written in Go"
Categories=Finance;Network;
Icon=geth

BIN
geth.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.3 KiB