Skip to content

Commit

Permalink
Merge pull request #127 from jpsim/change-jazzy-job-to-using-docker
Browse files Browse the repository at this point in the history
[CircleCI] Change jazzy job to using docker
  • Loading branch information
jpsim authored Jun 5, 2018
2 parents 424de77 + 4c88883 commit 64bceaa
Showing 1 changed file with 8 additions and 11 deletions.
19 changes: 8 additions & 11 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,19 +25,16 @@ aliases:

- &steps-for-jazzy
- checkout
- run: echo "ruby-2.3" > ~/.ruby-version
- restore_cache:
key: 1-gems-{{ checksum "Gemfile.lock" }}
- run: |
(
export ARCHFLAGS="-arch x86_64"
bundle check || bundle install --path vendor/bundle
)
key: 1-gems-linux-{{ checksum "Gemfile.lock" }}
- run: bundle check --path vendor/bundle || bundle install --path vendor/bundle
- save_cache:
key: 1-gems-{{ checksum "Gemfile.lock" }}
key: 1-gems-linux-{{ checksum "Gemfile.lock" }}
paths:
- vendor/bundle
- run: bundle exec jazzy
- run: swift build
- run: sourcekitten doc --spm-module Yams>yams.json
- run: bundle exec jazzy --clean --sourcekitten-sourcefile yams.json
- store_artifacts:
path: docs
- run: |
Expand Down Expand Up @@ -110,8 +107,8 @@ jobs:
<< : *XCODE9

jazzy:
macos:
xcode: "9.3.0"
docker:
- image: norionomura/jazzy:0.9.3_swift-4.1.2
steps: *steps-for-jazzy

spm_swift_4:
Expand Down

0 comments on commit 64bceaa

Please sign in to comment.