[build] create separate bitrise build for binary size tracking
This commit is contained in:
@@ -6,6 +6,8 @@ trigger_map:
|
||||
workflow: devicefarmUpload
|
||||
- pattern: scheduled
|
||||
workflow: scheduled
|
||||
- pattern: nightly-release
|
||||
workflow: nightly-release
|
||||
- pattern: "*"
|
||||
workflow: primary
|
||||
workflows:
|
||||
@@ -174,13 +176,6 @@ workflows:
|
||||
echo "Compile libmapbox-gl.so for all supportd abi's:"
|
||||
export BUILDTYPE=Release
|
||||
make apackage
|
||||
- script:
|
||||
title: Log metrics
|
||||
inputs:
|
||||
- content: |-
|
||||
#!/bin/bash
|
||||
echo "Log binary size metrics to AWS CloudWatch:"
|
||||
CLOUDWATCH=true platform/android/scripts/metrics.sh
|
||||
- script:
|
||||
title: Publish to maven
|
||||
inputs:
|
||||
@@ -249,3 +244,35 @@ workflows:
|
||||
- message_on_error: '<${BITRISE_BUILD_URL}|Build #${BITRISE_BUILD_NUMBER}> for devicefarmUpload failed'
|
||||
- icon_url: https://bitrise-public-content-production.s3.amazonaws.com/slack/bitrise-slack-icon-128.png
|
||||
- icon_url_on_error: https://bitrise-public-content-production.s3.amazonaws.com/slack/bitrise-slack-error-icon-128.png
|
||||
nightly-release:
|
||||
steps:
|
||||
- script:
|
||||
title: Configure GL-native build environement
|
||||
inputs:
|
||||
- content: |-
|
||||
#!/bin/bash
|
||||
set -eu -o pipefail
|
||||
curl -sL https://deb.nodesource.com/setup_4.x | sudo -E bash -
|
||||
sudo apt-get install -y pkg-config nodejs cmake
|
||||
- script:
|
||||
title: Configure AWS-CLI
|
||||
inputs:
|
||||
- content: |-
|
||||
#!/bin/bash
|
||||
apt-get install -y python-pip python-dev build-essential
|
||||
pip install awscli
|
||||
- script:
|
||||
title: Build release
|
||||
inputs:
|
||||
- content: |-
|
||||
#!/bin/bash
|
||||
echo "Compile libmapbox-gl.so for all supportd abi's:"
|
||||
export BUILDTYPE=Release
|
||||
make apackage
|
||||
- script:
|
||||
title: Log metrics
|
||||
inputs:
|
||||
- content: |-
|
||||
#!/bin/bash
|
||||
echo "Log binary size metrics to AWS CloudWatch:"
|
||||
CLOUDWATCH=true platform/android/scripts/metrics.sh
|
||||
|
||||
Reference in New Issue
Block a user