1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-11-26 22:14:39 +01:00
MadelineProto/.woodpecker/.build.yml

57 lines
931 B
YAML
Raw Normal View History

matrix:
php:
- "8.1"
- "8.0"
- "7.4"
- "7.3"
- "7.2"
- "7.1"
2022-06-04 17:50:05 +02:00
clone:
git:
2022-06-04 17:52:21 +02:00
when:
2022-06-23 14:31:41 +02:00
event:
- tag
- push
2022-06-04 17:50:05 +02:00
image: woodpeckerci/plugin-git
settings:
depth: 1
lfs: false
recursive: false
2022-06-04 18:27:08 +02:00
tags: true
2022-06-04 17:50:05 +02:00
2022-06-04 17:40:03 +02:00
pipeline:
build:
2022-06-06 22:35:03 +02:00
group: build
2022-06-04 17:40:03 +02:00
image: 192.168.69.1:5000/php-ci:latest
when:
event: tag
secrets:
- GITHUB_TOKEN
- API_ID
- API_HASH
- BOT_TOKEN
- DEST
environment:
- PHP_VERSION=${php}
2022-06-04 17:40:03 +02:00
- TAG=${CI_COMMIT_TAG}
commands:
- tests/makephar.sh
2022-06-23 14:31:41 +02:00
services:
mariadb:
image: mariadb
environment:
- MARIADB_DATABASE=MadelineProto
- MARIADB_USER=MadelineProto
- MARIADB_PASSWORD=test
postgres:
image: postgres
environment:
- POSTGRES_DB=MadelineProto
- POSTGRES_USER=MadelineProto
- POSTGRES_PASSWORD=test
redis:
image: redis