Skip to content
Snippets Groups Projects

Fix lfs

Merged Andre Maroneze requested to merge fix-lfs into master
+ 21
14
@@ -16,27 +16,32 @@ cache:
paths:
- vendor/ruby
.build_template: &prepare_website_template
before_script:
- ruby -v # Print out ruby version for debugging
- gem install bundler -v '2.0.2'
- bundle install -j $(nproc) --path vendor
- curl -sL https://deb.nodesource.com/setup_15.x | bash -
- apt-get install -y nodejs pandoc
- cd generator
- chmod +x ./generate
- curl https://git.frama-c.com/api/v4/projects/780/repository/files/Changelog/raw?ref=master > ../assets/Changelog
- curl https://git.frama-c.com/api/v4/projects/780/repository/files/src%2Fplugins%2Fe-acsl%2Fdoc%2FChangelog/raw?ref=master >> ../assets/Changelog
- curl https://git.frama-c.com/api/v4/projects/780/repository/files/src%2Fplugins%2Fwp%2FChangelog/raw?ref=master >> ../assets/Changelog
- ./generate ../assets/Changelog -o ../html/changelog.html
- cd ..
git-lfs:
stage: test
script:
- git lfs fsck --pointers
before_script:
- ruby -v # Print out ruby version for debugging
- gem install bundler -v '2.0.2'
- bundle install -j $(nproc) --path vendor
- curl -sL https://deb.nodesource.com/setup_15.x | bash -
- apt-get install -y nodejs pandoc
- cd generator
- chmod +x ./generate
- curl https://git.frama-c.com/api/v4/projects/780/repository/files/Changelog/raw?ref=master > ../assets/Changelog
- curl https://git.frama-c.com/api/v4/projects/780/repository/files/src%2Fplugins%2Fe-acsl%2Fdoc%2FChangelog/raw?ref=master >> ../assets/Changelog
- curl https://git.frama-c.com/api/v4/projects/780/repository/files/src%2Fplugins%2Fwp%2FChangelog/raw?ref=master >> ../assets/Changelog
- ./generate ../assets/Changelog -o ../html/changelog.html
- cd ..
tags:
- docker
image: datamachines/git-lfs:latest
test:
stage: test
<<: *prepare_website_template
script:
- bundle exec jekyll build -d test --future
artifacts:
@@ -52,6 +57,7 @@ check-css:
stage: css
dependencies:
- test
<<: *prepare_website_template
script:
- npm install -g purify-css
- cat $(find test -name '*.html') > output.html
@@ -65,6 +71,7 @@ check-css:
pages:
stage: deploy
<<: *prepare_website_template
script:
- JEKYLL_ENV="production" bundle exec jekyll build -d public --future
artifacts:
Loading