Skip to content

Commit 0fafaf5

Browse files
committed
fix(nokogiri): try with docker
1 parent 24305c9 commit 0fafaf5

File tree

1 file changed

+30
-27
lines changed

1 file changed

+30
-27
lines changed

.github/workflows/build.yml

Lines changed: 30 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -10,30 +10,33 @@ on:
1010

1111
jobs:
1212
test:
13-
runs-on: ubuntu-latest
14-
15-
strategy:
16-
matrix:
17-
ruby-version: [ '2.7.0' ]
18-
19-
steps:
20-
- uses: actions/checkout@v2
21-
- name: Set up Ruby
22-
uses: ruby/setup-ruby@v1
23-
with:
24-
ruby-version: ${{ matrix.ruby-version }}
25-
26-
- uses: actions/cache@v1
27-
with:
28-
path: vendor/bundle
29-
key: gems-${{ runner.os }}-${{ matrix.ruby-version }}-${{ hashFiles('**/Gemfile.lock') }}
30-
31-
# - run: gem update --system 3.4.22
32-
- run: sudo apt-get install -y --no-install-recommends build-essential
33-
- run: gem install bundler -v 2.4.22
34-
35-
- run: bundle config set deployment 'true'
36-
- run: bundle config build.nokogiri --use-system-libraries
37-
- run: bundle install
38-
39-
- run: bundle exec middleman build
13+
-runs:
14+
using: 'docker'
15+
image: 'Dockerfile'
16+
# runs-on: ubuntu-latest
17+
#
18+
# strategy:
19+
# matrix:
20+
# ruby-version: [ '2.7.0' ]
21+
#
22+
# steps:
23+
# - uses: actions/checkout@v2
24+
# - name: Set up Ruby
25+
# uses: ruby/setup-ruby@v1
26+
# with:
27+
# ruby-version: ${{ matrix.ruby-version }}
28+
#
29+
# - uses: actions/cache@v1
30+
# with:
31+
# path: vendor/bundle
32+
# key: gems-${{ runner.os }}-${{ matrix.ruby-version }}-${{ hashFiles('**/Gemfile.lock') }}
33+
#
34+
# # - run: gem update --system 3.4.22
35+
# - run: sudo apt-get install -y --no-install-recommends build-essential
36+
# - run: gem install bundler -v 2.4.22
37+
#
38+
# - run: bundle config set deployment 'true'
39+
# - run: bundle config build.nokogiri --use-system-libraries
40+
# - run: bundle install
41+
#
42+
# - run: bundle exec middleman build

0 commit comments

Comments
 (0)