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

Update .gitlab-ci.yml

parent 4340e7a7
No related branches found
No related tags found
1 merge request!23Release
...@@ -85,12 +85,12 @@ tag: ...@@ -85,12 +85,12 @@ 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-staging
script: script:
- export PATH="/usr/local/opt/go@1.13/bin:$PATH" - 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
...@@ -98,12 +98,26 @@ bindings: ...@@ -98,12 +98,26 @@ bindings:
- rm -rf $HOME/go/src/gitlab.com/elixxir/client/ - rm -rf $HOME/go/src/gitlab.com/elixxir/client/
- mkdir -p $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/ - 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 - 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
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/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=on 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.
Finish editing this message first!
Please register or to comment