From ac92fc32db974644bcce2fd7bdd2720d554c06f5 Mon Sep 17 00:00:00 2001 From: daquexian Date: Mon, 20 May 2019 10:02:56 +0800 Subject: [PATCH] Add triggers in ci yml --- ci/dabnn_build_and_test.yml | 23 +++++++++++++++++++++-- ci/onnx2bnn_build.yml | 27 +++++++++++++++++++++++++-- 2 files changed, 46 insertions(+), 4 deletions(-) diff --git a/ci/dabnn_build_and_test.yml b/ci/dabnn_build_and_test.yml index 8c56635..94c9373 100644 --- a/ci/dabnn_build_and_test.yml +++ b/ci/dabnn_build_and_test.yml @@ -1,8 +1,27 @@ trigger: branches: include: - - refs/heads/* - - refs/tags/* + - master + tags: + include: + - v* + paths: + include: + - '*' + exclude: + - README.md + - docs/* +pr: + branches: + include: + - '*' + paths: + include: + - '*' + exclude: + - README.md + - docs/* + pool: vmImage: 'macOS-10.14' steps: diff --git a/ci/onnx2bnn_build.yml b/ci/onnx2bnn_build.yml index 9ba0362..ca24bcf 100644 --- a/ci/onnx2bnn_build.yml +++ b/ci/onnx2bnn_build.yml @@ -1,8 +1,31 @@ trigger: branches: include: - - refs/heads/* - - refs/tags/* + - master + tags: + include: + - v* + paths: + include: + - '*' + exclude: + - README.md + - docs/* + # not trigger onnx2bnn build when only dabnn is edited + - dabnn/* +pr: + branches: + include: + - '*' + paths: + include: + - '*' + exclude: + - README.md + - docs/* + # not trigger onnx2bnn build when only dabnn is edited + - dabnn/* + jobs: - job: Linux_AppImage pool: