Add android build
This commit is contained in:
parent
06ca365c2a
commit
dfbfcb3750
2 changed files with 7 additions and 1 deletions
|
@ -4,6 +4,7 @@ builds:
|
|||
- darwin
|
||||
- windows
|
||||
- freebsd
|
||||
- android
|
||||
goarch:
|
||||
- "386"
|
||||
- amd64
|
||||
|
@ -21,6 +22,10 @@ builds:
|
|||
goarch: arm
|
||||
- goos: linux
|
||||
goarch: "386"
|
||||
- goos: android
|
||||
goarch: "386"
|
||||
- goos: android
|
||||
goarch: amd64
|
||||
- goos: darwin
|
||||
goarch: "386"
|
||||
- goos: freebsd
|
||||
|
|
|
@ -18,10 +18,11 @@ case $go_os in
|
|||
darwin) rust_os='apple-darwin' ;;
|
||||
windows) rust_os='windows' ;;
|
||||
freebsd) rust_os='freebsd' ;;
|
||||
android) rust_os='android' ;;
|
||||
*) echo "unknown os: $go_os" && exit 1 ;;
|
||||
esac
|
||||
|
||||
# Find artifacts and uncompress in the coresponding directory
|
||||
# Find artifacts and uncompress in the corresponding directory
|
||||
if [ -z "$go_arm" ]
|
||||
then
|
||||
DIST_DIR=$(find dist -type d -name "*${go_os}_${go_arch}*")
|
||||
|
|
Loading…
Reference in a new issue