Skip to content

Commit

Permalink
Add CI for building .mbp files
Browse files Browse the repository at this point in the history
  • Loading branch information
tulir committed Aug 3, 2020
1 parent 329c19e commit 1350c8d
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
image: dock.mau.dev/maubot/maubot

stages:
- build

variables:
PYTHONPATH: /opt/maubot

build:
stage: build
except:
- tags
script:
- python3 -m maubot.cli build -o xyz.maubot.$CI_PROJECT_NAME-$CI_COMMIT_REF_NAME-$CI_COMMIT_SHORT_SHA.mbp
artifacts:
paths:
- "*.mbp"

build tags:
stage: build
only:
- tags
script:
- python3 -m maubot.cli build -o xyz.maubot.$CI_PROJECT_NAME-$CI_COMMIT_TAG.mbp
artifacts:
paths:
- "*.mbp"

0 comments on commit 1350c8d

Please sign in to comment.