terminology/.circleci/config.yml

25 lines
587 B
YAML
Raw Normal View History

2018-12-22 06:46:20 -08:00
version: 2
jobs:
build:
docker:
- image: borisfaure/terminology-ci:0.1
steps:
- run: |
cd /terminology
git pull --ff-only
if [ -n "$CIRCLE_PR_NUMBER" ]; then
git fetch origin pull/$CIRCLE_PR_NUMBER/head
fi
if [ -n "$CIRCLE_SHA1" ]; then
git reset --hard origin/master
else
git reset --hard $CIRCLE_SHA1
fi
- run: |
cd /terminology
meson . build
meson configure build
cd build
ninja
path: /terminology