X-Git-Url: https://git.r.bdr.sh/rbdr/lyricli/blobdiff_plain/19e7bffcd3401026517e1f02d55f6050d3baf80d..50f1afe4e9fdffa2229fbd5586fd623197c560df:/.gitlab-ci.yml?ds=inline diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4d984cb..04ec6ba 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,44 +1,14 @@ -image: swift:5.0.1 +image: lyriclitest/swift:5.0.1 stages: - lint - - build - - document - - deploy cache: key: ${CI_COMMIT_REF_SLUG}-${CI_COMMIT_SHA} paths: - .build/ -before_script: - - apt install -y ruby ruby-dev libsqlite3-dev wget - - gem install jazzy - - "./Scripts/install_sourcekitten.sh" - - "./Scripts/install_swiftlint.sh" - lint: stage: lint script: - make lint - -build: - stage: build - script: - - make build - -document: - stage: document - script: - - make document - artifacts: - paths: - - docs - -pages: - stage: deploy - script: - - mv docs public - artifacts: - paths: - - public