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: ...@@ -76,12 +76,15 @@ tag:
bindings-ios: bindings-ios:
stage: build stage: build
dependencies: []
except: except:
- tags - tags
tags: tags:
- ios - ios
script: 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 init
- gomobile bind -target ios gitlab.com/elixxir/client/bindings - gomobile bind -target ios gitlab.com/elixxir/client/bindings
- ls - ls
...@@ -92,14 +95,18 @@ bindings-ios: ...@@ -92,14 +95,18 @@ bindings-ios:
bindings-android: bindings-android:
stage: build stage: build
dependencies: []
except: except:
- tags - tags
tags: tags:
- android - android
script: script:
- export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin:/android-sdk/platform-tools/
- export ANDROID_HOME=/android-sdk - 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 init
- gomobile bind -target android -androidapi 21 gitlab.com/elixxir/client/bindings - gomobile bind -target android -androidapi 21 gitlab.com/elixxir/client/bindings
artifacts: artifacts:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment