2023-09-01 14:51:30 +02:00
|
|
|
matrix:
|
|
|
|
php:
|
|
|
|
- "8.1"
|
|
|
|
platform:
|
|
|
|
- linux/arm64
|
|
|
|
|
|
|
|
platform: ${platform}
|
|
|
|
|
|
|
|
clone:
|
|
|
|
git:
|
|
|
|
when:
|
|
|
|
event:
|
|
|
|
- tag
|
|
|
|
- push
|
|
|
|
- pull_request
|
2023-09-01 14:53:46 +02:00
|
|
|
image: woodpeckerci/plugin-git
|
2023-09-01 14:51:30 +02:00
|
|
|
settings:
|
|
|
|
depth: 1
|
|
|
|
lfs: false
|
|
|
|
recursive: false
|
|
|
|
tags: true
|
|
|
|
|
2023-09-01 14:52:26 +02:00
|
|
|
steps:
|
2023-09-01 14:51:30 +02:00
|
|
|
test:
|
|
|
|
group: test
|
|
|
|
image: danog/madelineproto:next
|
|
|
|
when:
|
|
|
|
event:
|
|
|
|
- tag
|
|
|
|
- push
|
|
|
|
- pull_request
|
|
|
|
environment:
|
|
|
|
- PHP_VERSION=${php}
|
|
|
|
- PLATFORM=${platform}
|
|
|
|
- TAG=${CI_COMMIT_TAG}
|
|
|
|
commands:
|
|
|
|
- apk add bash
|
|
|
|
- /bin/bash -e tests/test.sh
|
|
|
|
|
|
|
|
depends_on:
|
|
|
|
- build-docker
|