version: 0.2

phases:
  install:
    commands:
      - docker pull kuzzleio/sdk-cross:android-x86
  build:
    commands:
      - docker run -a stdout -a stderr --net host --rm --privileged --name build-machine -v "$(pwd)":/go/src/github.com/kuzzleio/sdk-go kuzzleio/sdk-cross:android-x86 /build.sh

Add Android build stage in Codepipeline
[KZL-275] Add Android build stage in Codepipeline

