|
|
|
@@ -1,35 +0,0 @@ |
|
|
|
# Starter pipeline |
|
|
|
# Start with a minimal pipeline that you can customize to build and deploy your code. |
|
|
|
# Add steps that build, run tests, deploy, and more: |
|
|
|
# https://aka.ms/yaml |
|
|
|
|
|
|
|
trigger: |
|
|
|
- master |
|
|
|
|
|
|
|
pr: |
|
|
|
branches: |
|
|
|
include: |
|
|
|
- master |
|
|
|
|
|
|
|
pool: |
|
|
|
name: 'Default' |
|
|
|
|
|
|
|
steps: |
|
|
|
- script: | |
|
|
|
cd example |
|
|
|
$flutterPath/flutter build ios |
|
|
|
displayName: 'Test iOS -- Build' |
|
|
|
env: |
|
|
|
flutterPath: $(flutterPath) |
|
|
|
- script: | |
|
|
|
cd example |
|
|
|
$flutterPath/flutter packages get |
|
|
|
$flutterPath/flutter build apk --target-platform android-arm,android-arm64 --split-per-abi |
|
|
|
displayName: 'Test Android -- Build' |
|
|
|
env: |
|
|
|
flutterPath: $(flutterPath) |
|
|
|
- script: | |
|
|
|
$flutterPath/flutter pub pub publish --dry-run |
|
|
|
displayName: 'Publish -- Dry Run' |
|
|
|
env: |
|
|
|
flutterPath: $(flutterPath) |