Skip to content
Snippets Groups Projects
Commit f4fb6f67 authored by Benjamin Wenger's avatar Benjamin Wenger
Browse files

Merge branch 'Anne/Front-End-CI' into 'release'

Update .gitlab-ci.yml

See merge request elixxir/client!628
parents 4292c9fa 7f155686
No related branches found
No related tags found
1 merge request!23Release
...@@ -85,25 +85,33 @@ tag: ...@@ -85,25 +85,33 @@ tag:
- git tag $(release/client.linux64 version | grep "Elixxir Client v"| cut -d ' ' -f3) -f - git tag $(release/client.linux64 version | grep "Elixxir Client v"| cut -d ' ' -f3) -f
- git push origin_tags -f --tags - git push origin_tags -f --tags
bindings: bindings-ios:
stage: build stage: build
except: except:
- tags - tags
tags: tags:
- ios - ios
script: script:
- export PATH="/usr/local/opt/go@1.13/bin:$PATH"
- go get -u golang.org/x/mobile/cmd/gomobile - go get -u golang.org/x/mobile/cmd/gomobile
- go get -u golang.org/x/mobile/bind - gomobile bind -target ios gitlab.com/elixxir/client/bindings
- 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=on gomobile bind -target android -androidapi 21 gitlab.com/elixxir/client/bindings
- GO111MODULE=on gomobile bind -target ios gitlab.com/elixxir/client/bindings
- zip -r iOS.zip Bindings.framework - zip -r iOS.zip Bindings.framework
artifacts: artifacts:
paths: paths:
- iOS.zip - iOS.zip
bindings-android:
stage: build
except:
- tags
tags:
- android
script:
- 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
- gomobile bind -target android -androidapi 21 gitlab.com/elixxir/client/bindings
artifacts:
paths:
- bindings.aar - bindings.aar
- bindings-sources.jar - bindings-sources.jar
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment