Skip to content
Snippets Groups Projects
Verified Commit edc4dcb8 authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

CI WIP

parent 0a291362
Branches
Tags
No related merge requests found
Pipeline #8455 passed
# Assumes ruby-dev, ruby-bundle, jq and LaTeX are installed in the runner.
# We do not use the Debian package for Jekyll because Buster has only 3.8.3
# (while we want at least 3.8.4).
# Assumes the following is installed in the runner:
# - jekyll
# - ruby-jekyll-sitemap, ruby-jekyll-archives, ruby-jekyll-include-cache
# (plugins directly used by the site)
# - ruby-dev (for downloading the minimal-mistakes-jekyll theme, which is not
# in Debian)
# - ruby-jekyll-paginate, ruby-jekyll-feed, ruby-jekyll-gist (dependencies of
# the theme)
# - jq
# - imagemagick, LaTeX
variables:
GIT_SUBMODULE_STRATEGY: normal
......@@ -15,13 +22,12 @@ build:
LANGUAGE: en_US.UTF-8
GEM_HOME: "$CI_PROJECT_DIR/.gem"
before_script:
- gem install jekyll
- gem install minimal-mistakes-jekyll
- (cd _data && wget --no-verbose --no-parent --accept '*.rdf' --recursive --no-directories --execute robots=off https://www.dynare.org/RePEc/cpm/dynare/ && ../assets/RePEc/rdf2yml.sh && rm -f *.rdf)
- ./setup-download-links.sh
- bundle install
script:
- (cd assets/images/logo && make)
- bundle exec jekyll build
- jekyll build
cache:
key: ${CI_COMMIT_REF_SLUG}
paths:
......
source "https://rubygems.org"
# Hello! This is where you manage which Jekyll version is used to run.
# When you want to use a different version, change it below, save the
# file and run `bundle install`. Run Jekyll with `bundle exec`, like so:
#
# bundle exec jekyll serve
#
# This will help ensure the proper Jekyll version is running.
# Happy Jekylling!
gem "jekyll", "~> 3.8.4"
# This is the default theme for new Jekyll sites. You may change this to anything you like.
gem "minimal-mistakes-jekyll"
# If you want to use GitHub Pages, remove the "gem "jekyll"" above and
# uncomment the line below. To upgrade, run `bundle update github-pages`.
# gem "github-pages", group: :jekyll_plugins
# If you have any plugins, put them here!
group :jekyll_plugins do
gem "jekyll-feed", "~> 0.6"
gem "jekyll-archives"
gem "jekyll-sitemap"
gem "jekyll-include-cache"
end
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
gem "tzinfo-data", platforms: [:mingw, :mswin, :x64_mingw, :jruby]
# Performance-booster for watching directories on Windows
gem "wdm", "~> 0.1.0" if Gem.win_platform?
# Pin faraday to 0.17.3, otherwise there's a build error caused by version 4.14 of octokit
gem 'faraday', '0.17.3'
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment