Skip to content
Snippets Groups Projects
Commit 4f6d3e39 authored by Jake Taylor's avatar Jake Taylor :lips:
Browse files

Merge branch 'bindings-fixes' into 'release'

Bindings fixes

See merge request !345
parents f67757f4 3c4f59f8
Branches
Tags
No related merge requests found
......@@ -102,23 +102,26 @@ tag:
- git tag $(release/client.linux64 version | grep "Elixxir Client v"| cut -d ' ' -f3) -f
- git push origin_tags -f --tags
#bindings:
# stage: build
# except:
# - tags
# tags:
# - ios
# script:
# - GO111MODULE=off go get golang.org/x/mobile/cmd/gomobile
# - GO111MODULE=off go get gitlab.com/elixxir/client
# - GO111MODULE=off gomobile bind -target android -androidapi 21 gitlab.com/elixxir/client/bindings
# - GO111MODULE=off gomobile bind -target ios gitlab.com/elixxir/client/bindings
# - zip -r iOS.zip Bindings.framework
# artifacts:
# paths:
# - iOS.zip
# - bindings.aar
# - bindings-sources.jar
bindings:
stage: build
except:
- tags
tags:
- ios
script:
- go get -u golang.org/x/mobile/cmd/gomobile
- go get -u golang.org/x/mobile/bind
- rm -rf $HOME/go/src/gitlab.com/elixxir/client/
- mkdir -p $HOME/go/src/gitlab.com/elixxir/client/
- cp -r * $HOME/go/src/gitlab.com/elixxir/client/
- GO111MODULE=off gomobile bind -target android -androidapi 21 gitlab.com/elixxir/client/bindings
- GO111MODULE=off gomobile bind -target ios gitlab.com/elixxir/client/bindings
- zip -r iOS.zip Bindings.framework
artifacts:
paths:
- iOS.zip
- bindings.aar
- bindings-sources.jar
trigger_integration:
stage: trigger_integration
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment