chore: init CI

This commit is contained in:
Rodney, Tiara 2025-04-25 19:34:02 +02:00
parent ec74d648ce
commit b7aaeb0e8c
No known key found for this signature in database
GPG key ID: 5CD8EC1D46106723

71
bitbucket-pipelines.yml Normal file
View file

@ -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