From 15f9be5ffca600a7814723bde2e6105be17ee09e Mon Sep 17 00:00:00 2001 From: Tom Hu Date: Fri, 31 May 2024 21:17:56 +0800 Subject: [PATCH] fix: add bitrise --- .circleci/config.yml | 2 +- bitrise.yml | 25 +++++++++++++++++++++++++ 2 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 bitrise.yml diff --git a/.circleci/config.yml b/.circleci/config.yml index a01741de..fe5ae248 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,6 +1,6 @@ version: 2.1 orbs: - codecov: codecov/codecov@3 + codecov: codecov/codecov@4 jobs: build: diff --git a/bitrise.yml b/bitrise.yml new file mode 100644 index 00000000..a4151f75 --- /dev/null +++ b/bitrise.yml @@ -0,0 +1,25 @@ +--- +format_version: '13' +default_step_lib_source: https://github.com/bitrise-io/bitrise-steplib.git +project_type: other +workflows: + primary: + steps: + - activate-ssh-key@4: + run_if: '{{getenv "SSH_RSA_PRIVATE_KEY" | ne ""}}' + - git-clone@8: {} + - codecov@3: + inputs: + - OS: macos + - CODECOV_TOKEN: "$CODECOV_TOKEN" + - deploy-to-bitrise-io@2: {} +meta: + bitrise.io: + stack: osx-xcode-14.3.x-ventura + machine_type_id: g2-m1.4core +trigger_map: +- push_branch: main + workflow: primary +- pull_request_source_branch: "*" + workflow: primary +