From 547b4b2d713ccc4071986f6465ff4a092902800b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89milie=20Feral?= Date: Tue, 3 Nov 2020 10:33:54 +0100 Subject: [PATCH] [.github/workflows] CI: trigger CI manually or on PR only --- .github/workflows/ci-workflow.yml | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci-workflow.yml b/.github/workflows/ci-workflow.yml index 9c74c0ca0..5a3a787fd 100644 --- a/.github/workflows/ci-workflow.yml +++ b/.github/workflows/ci-workflow.yml @@ -1,5 +1,16 @@ name: Continuous integration -on: [pull_request, push] +#on: [pull_request, push] +on: + pull_request: + workflow_dispatch: + triggerIos: + description: 'Run iOS tests' + required: true + default: 'no' + triggerMacos: + description: 'Run macOS tests' + required: true + default: 'no' jobs: android: @@ -94,6 +105,7 @@ jobs: name: epsilon-linux.bin path: output/release/simulator/linux/epsilon.bin macos: + if: github.event.inputs.triggerMacos == 'yes' runs-on: macOS-latest steps: - run: brew install numworks/tap/epsilon-sdk @@ -107,6 +119,7 @@ jobs: name: epsilon-macos.zip path: output/release/simulator/macos/epsilon.app ios: + if: github.event.inputs.triggerIos == 'yes' runs-on: macOS-latest steps: - run: brew install numworks/tap/epsilon-sdk