]> git.r.bdr.sh - rbdr/lyricli/blame - .gitlab-ci.yml
Adapt CI scripts to work under swift docker image
[rbdr/lyricli] / .gitlab-ci.yml
CommitLineData
3f746cc0
BB
1image: swift:5.0.1
2
3stages:
4 - lint
5 - build
6 - document
7 - deploy
8
9cache:
10 key: ${CI_COMMIT_REF_SLUG}-${CI_COMMIT_SHA}
11 paths:
12 - .build/
13
14before_script:
19e7bffc 15 - apt install -y ruby ruby-dev libsqlite3-dev wget
3f746cc0
BB
16 - gem install jazzy
17 - "./Scripts/install_sourcekitten.sh"
18 - "./Scripts/install_swiftlint.sh"
19
20lint:
21 stage: lint
22 script:
23 - make lint
24
25build:
26 stage: build
27 script:
28 - make build
29
30document:
31 stage: document
32 script:
33 - make document
34 artifacts:
35 paths:
36 - docs
37
38pages:
39 stage: deploy
40 script:
41 - mv docs public
42 artifacts:
43 paths:
44 - public