Skip to content
Snippets Groups Projects

Fix lfs

Merged Andre Maroneze requested to merge fix-lfs into master
35 files
+ 105
0
Compare changes
  • Side-by-side
  • Inline
Files
35
+ 27
13
@@ -16,22 +16,34 @@ cache:
paths:
- vendor/ruby
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 ..
.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 update
- apk add git-lfs
- git lfs fsck --pointers
tags:
- docker
image: alpine:3.16
test:
stage: test
<<: *prepare_website_template
script:
- bundle exec jekyll build -d test --future
artifacts:
@@ -47,6 +59,7 @@ check-css:
stage: css
dependencies:
- test
<<: *prepare_website_template
script:
- npm install -g purify-css
- cat $(find test -name '*.html') > output.html
@@ -60,6 +73,7 @@ check-css:
pages:
stage: deploy
<<: *prepare_website_template
script:
- JEKYLL_ENV="production" bundle exec jekyll build -d public --future
artifacts:
Loading