library/.gitlab-ci.yml

36 lines
564 B
YAML
Raw Normal View History

2021-08-07 11:26:39 +02:00
stages:
2021-08-07 11:27:28 +02:00
- documentation
2021-08-07 11:26:39 +02:00
- release
2018-12-01 22:10:32 +01:00
pages:
2021-08-07 11:26:05 +02:00
image: ubuntu
2021-08-07 11:27:28 +02:00
stage: documentation
2018-12-01 22:10:32 +01:00
script:
2021-07-09 15:33:29 +02:00
- cd doxygen/
2021-07-09 17:11:30 +02:00
- apt update && apt install -y git doxygen python3-pip
2021-10-06 15:37:33 +02:00
- doxygen
2021-07-09 17:19:22 +02:00
- mv ./html ../public
2018-12-01 22:10:32 +01:00
artifacts:
paths:
2021-07-09 17:19:22 +02:00
- public
2018-12-01 22:10:32 +01:00
only:
- master
2021-08-07 11:26:05 +02:00
publish:
image: python:3.6
2021-08-07 11:26:39 +02:00
stage: release
2021-08-07 11:26:05 +02:00
only:
- tags
script:
- "pip install -U platformio"
- "cd CodeRacer_MKII"
- "pio package publish"
release:
2021-08-07 11:45:36 +02:00
image: registry.gitlab.com/gitlab-org/release-cli:latest
2021-08-07 11:26:05 +02:00
stage: release
only:
- tags
script:
2021-08-07 11:45:36 +02:00
- release-cli create