From b7aaeb0e8c5ff5fdd69b1c189cdb806dd48a2b45 Mon Sep 17 00:00:00 2001 From: "Rodney, Tiara" Date: Fri, 25 Apr 2025 19:34:02 +0200 Subject: [PATCH] chore: init CI --- bitbucket-pipelines.yml | 71 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 71 insertions(+) create mode 100644 bitbucket-pipelines.yml diff --git a/bitbucket-pipelines.yml b/bitbucket-pipelines.yml new file mode 100644 index 0000000..9a9a7a3 --- /dev/null +++ b/bitbucket-pipelines.yml @@ -0,0 +1,71 @@ +image: administratrix/cicd:latest +definitions: + steps: + - step: &configure + name: Configure + caches: + - node + artifacts: + - config.log + - config.status + script: + - sh configure + - step: &test + name: Test + caches: + - node + artifacts: + - test-reports/* + script: + - make test-reports + - step: &build-debug + name: Build (Debug) + caches: + - node + artifacts: + - build/debug/**/* + - build/debug/* + script: + - make build/debug CI=1 + - step: &build-release + name: Build (Release) + caches: + - node + artifacts: + - build/release/**/* + - build/release/* + script: + - make build/release CI=1 + - step: &build-doc + name: Build (Doc) + caches: + - node + artifacts: + - build/doc/**/* + - build/doc/* + script: + - make build/doc CI=1 + - step: &dist + name: Package + caches: + - node + artifacts: + - dist/* + script: + - make dist CI=1 +pipelines: + default: + - step: *configure + - parallel: + steps: + - step: *test + - step: *build-debug + branches: + master: + - step: *configure + - step: *test + - parallel: + steps: + - step: *build-doc + - step: *build-release + - step: *dist