From 63a53b51d6818b885fb2808d1343f0d055eb08b2 Mon Sep 17 00:00:00 2001 From: juliuscanute Date: Sat, 13 Jul 2019 14:10:16 +1000 Subject: [PATCH] Feature/build pipeline (#21) * Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index aa91291..3745445 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -7,13 +7,18 @@ trigger: - master pool: - vmImage: 'ubuntu-latest' + name: 'Default' steps: -- script: echo Hello, world! - displayName: 'Run a one-line script' - - script: | - echo Add other tasks to build, test, and deploy your project. - echo See https://aka.ms/yaml - displayName: 'Run a multi-line script' + cd example + $(flutterPath)/flutter build ios + displayName: 'Test iOS -- Build' + env: + flutterPath: $(flutterPath) +- script: | + cd example + $(flutterPath)/flutter build apk --target-platform android-arm,android-arm64 --split-per-abi + displayName: 'Test Android -- Build' + env: + flutterPath: $(flutterPath)