Skip to content
Snippets Groups Projects
Commit faa957b7 authored by Frama-CI Bot's avatar Frama-CI Bot
Browse files

Git LFS - Add check

parent ed5049b2
No related branches found
No related tags found
1 merge request!171Fix lfs
Pipeline #51003 passed
This commit is part of merge request !171. Comments created here will be created in the context of that merge request.
...@@ -16,22 +16,32 @@ cache: ...@@ -16,22 +16,32 @@ cache:
paths: paths:
- vendor/ruby - vendor/ruby
before_script: .build_template: &prepare_website_template
- ruby -v # Print out ruby version for debugging before_script:
- gem install bundler -v '2.0.2' - ruby -v # Print out ruby version for debugging
- bundle install -j $(nproc) --path vendor - gem install bundler -v '2.0.2'
- curl -sL https://deb.nodesource.com/setup_15.x | bash - - bundle install -j $(nproc) --path vendor
- apt-get install -y nodejs pandoc - curl -sL https://deb.nodesource.com/setup_15.x | bash -
- cd generator - apt-get install -y nodejs pandoc
- chmod +x ./generate - cd generator
- curl https://git.frama-c.com/api/v4/projects/780/repository/files/Changelog/raw?ref=master > ../assets/Changelog - chmod +x ./generate
- 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/Changelog/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 - curl https://git.frama-c.com/api/v4/projects/780/repository/files/src%2Fplugins%2Fe-acsl%2Fdoc%2FChangelog/raw?ref=master >> ../assets/Changelog
- ./generate ../assets/Changelog -o ../html/changelog.html - curl https://git.frama-c.com/api/v4/projects/780/repository/files/src%2Fplugins%2Fwp%2FChangelog/raw?ref=master >> ../assets/Changelog
- cd .. - ./generate ../assets/Changelog -o ../html/changelog.html
- cd ..
git-lfs:
stage: test
script:
- git lfs fsck
tags:
- docker
image: datamachines/git-lfs:latest
test: test:
stage: test stage: test
<<: *prepare_website_template
script: script:
- bundle exec jekyll build -d test --future - bundle exec jekyll build -d test --future
artifacts: artifacts:
...@@ -47,6 +57,7 @@ check-css: ...@@ -47,6 +57,7 @@ check-css:
stage: css stage: css
dependencies: dependencies:
- test - test
<<: *prepare_website_template
script: script:
- npm install -g purify-css - npm install -g purify-css
- cat $(find test -name '*.html') > output.html - cat $(find test -name '*.html') > output.html
...@@ -60,6 +71,7 @@ check-css: ...@@ -60,6 +71,7 @@ check-css:
pages: pages:
stage: deploy stage: deploy
<<: *prepare_website_template
script: script:
- JEKYLL_ENV="production" bundle exec jekyll build -d public --future - JEKYLL_ENV="production" bundle exec jekyll build -d public --future
artifacts: artifacts:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment