Skip to content
Snippets Groups Projects
Commit 58cbecf1 authored by Sydney Anne Erickson's avatar Sydney Anne Erickson :chipmunk:
Browse files

Merge branch 'Anne/gomobile' into 'release'

Update .gitlab-ci.yml

See merge request !165
parents 76310029 1ea983e9
No related branches found
No related tags found
2 merge requests!170Release,!165Update .gitlab-ci.yml
......@@ -76,12 +76,15 @@ tag:
bindings-ios:
stage: build
dependencies: []
except:
- tags
tags:
- ios
script:
- go get -u golang.org/x/mobile/cmd/gomobile
- export PATH=$PATH:$HOME/go/bin
- go install golang.org/x/mobile/cmd/gomobile@latest
- go get golang.org/x/mobile/cmd/gobind
- gomobile init
- gomobile bind -target ios gitlab.com/elixxir/client/bindings
- ls
......@@ -92,14 +95,18 @@ bindings-ios:
bindings-android:
stage: build
dependencies: []
except:
- tags
tags:
- android
script:
- export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin:/android-sdk/platform-tools/
- export ANDROID_HOME=/android-sdk
- export PATH=$PATH:/android-sdk/platform-tools/:/usr/local/go/bin
- go get -u golang.org/x/mobile/cmd/gomobile
# Build the bindings
- go install golang.org/x/mobile/cmd/gomobile@latest
- go get golang.org/x/mobile/cmd/gobind
- gomobile init
- gomobile bind -target android -androidapi 21 gitlab.com/elixxir/client/bindings
artifacts:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment