Skip to content

Commit

Permalink
Add step to install missing libraries
Browse files Browse the repository at this point in the history
  • Loading branch information
kwkwan committed Dec 14, 2023
1 parent 7492263 commit 4993dfe
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 22 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/build_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,21 @@ jobs:
- name: Checkout
uses: actions/checkout@v3

- name: Install libraries
run: |
sudo apt-get update -y
sudo apt-get install -y libxslt-dev libxml2-dev
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '2.7'
bundler-cache: true
cache-version: 0 # Increment this number if you need to re-download cached gems

- name: Run bundle
run: |
gem install nokogiri -- --use-system-libraries
bundle install
- name: Setup Pages
id: pages
uses: actions/configure-pages@v3
Expand Down
3 changes: 2 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,5 @@ gem "wdm", "~> 0.1.0" if Gem.win_platform?
gem "rake"
gem "html-proofer"

gem "ffi", "~> 1.16.3"
gem "ffi", "~> 1.16.3"
gem "nokogiri", "~> 1.15.5"
33 changes: 14 additions & 19 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,16 +1,10 @@
GEM
remote: https://rubygems.org/
specs:
activesupport (5.2.0)
concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (>= 0.7, < 2)
minitest (~> 5.1)
tzinfo (~> 1.1)
addressable (2.5.2)
public_suffix (>= 2.0.2, < 4.0)
asciidoctor (1.5.7.1)
colorator (1.1.0)
colorize (0.8.1)
concurrent-ruby (1.0.5)
em-websocket (0.5.1)
eventmachine (>= 0.12.9)
Expand All @@ -22,15 +16,15 @@ GEM
ffi (1.16.3)
forwardable-extended (2.6.0)
git (1.5.0)
html-proofer (3.9.1)
activesupport (>= 4.2, < 6.0)
html-proofer (4.4.3)
addressable (~> 2.3)
colorize (~> 0.8)
mercenary (~> 0.3.2)
nokogiri (~> 1.8.1)
parallel (~> 1.3)
mercenary (~> 0.3)
nokogiri (~> 1.13)
parallel (~> 1.10)
rainbow (~> 3.0)
typhoeus (~> 1.3)
yell (~> 2.0)
zeitwerk (~> 2.5)
http_parser.rb (0.6.0)
i18n (0.9.5)
concurrent-ruby (~> 1.0)
Expand Down Expand Up @@ -75,14 +69,16 @@ GEM
rb-inotify (~> 0.9, >= 0.9.7)
ruby_dep (~> 1.2)
mercenary (0.3.6)
mini_portile2 (2.3.0)
minitest (5.11.3)
nokogiri (1.8.4)
mini_portile2 (~> 2.3.0)
mini_portile2 (2.8.5)
nokogiri (1.15.5)
mini_portile2 (~> 2.8.2)
racc (~> 1.4)
parallel (1.12.1)
pathutil (0.16.1)
forwardable-extended (~> 2.6)
public_suffix (3.0.3)
racc (1.7.3)
rainbow (3.1.1)
rake (12.3.1)
rb-fsevent (0.10.3)
rb-inotify (0.9.10)
Expand All @@ -95,12 +91,10 @@ GEM
sass-listen (4.0.0)
rb-fsevent (~> 0.9, >= 0.9.4)
rb-inotify (~> 0.9, >= 0.9.7)
thread_safe (0.3.6)
typhoeus (1.3.0)
ethon (>= 0.9.0)
tzinfo (1.2.5)
thread_safe (~> 0.1)
yell (2.0.7)
zeitwerk (2.6.12)

PLATFORMS
ruby
Expand All @@ -115,6 +109,7 @@ DEPENDENCIES
jekyll-seo-tag
jekyll-theme-open-project (~> 2.0.14)
jekyll-theme-open-project-helpers (~> 2.0.14)
nokogiri (~> 1.15.5)
rake
tzinfo-data

Expand Down

0 comments on commit 4993dfe

Please sign in to comment.