From 4f64fe072b26fd556365453bfe4122172d4cf52a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alberto=20Gonz=C3=A1lez?= <10727467+agonper@users.noreply.github.com> Date: Wed, 21 Sep 2022 10:35:25 +0200 Subject: [PATCH] ci: split demo build and test phases --- azure-pipelines.yml | 4 ++++ tools/workspace-scripts.js | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index c11edf25..5abbb518 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -44,6 +44,10 @@ steps: npm start @awarns.build-all displayName: 'Build' + - script: | + npm start apps.demo.build-android + displayName: 'Build demo' + - script: | ./ci-tools/wait-for-emulator.sh npm start android-test-ci diff --git a/tools/workspace-scripts.js b/tools/workspace-scripts.js index ce9f34a5..9da9c07b 100644 --- a/tools/workspace-scripts.js +++ b/tools/workspace-scripts.js @@ -36,6 +36,10 @@ module.exports = { script: 'nx run demo:clean', description: '⚆ Clean 🧹', }, + 'build-android': { + script: 'nx run demo:build --platform=android --production=false --uglify=false --release=false', + description: '⚆ Run Android 🤖', + }, ios: { script: 'nx run demo:ios --parallel=false', description: '⚆ Run iOS ',