Skip to content
Snippets Groups Projects

Fix lfs

Merged Andre Maroneze requested to merge fix-lfs into master
+ 20
15
@@ -16,30 +16,33 @@ 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:
- apk add git-lfs
- git lfs fsck --pointers
tags:
- docker
image: datamachines/git-lfs:latest
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 ..
image: alpine:3.16
test:
stage: test
<<: *prepare_website_template
script:
- bundle exec jekyll build -d test --future
artifacts:
@@ -55,6 +58,7 @@ check-css:
stage: css
dependencies:
- test
<<: *prepare_website_template
script:
- npm install -g purify-css
- cat $(find test -name '*.html') > output.html
@@ -68,6 +72,7 @@ check-css:
pages:
stage: deploy
<<: *prepare_website_template
script:
- JEKYLL_ENV="production" bundle exec jekyll build -d public --future
artifacts:
Loading