Skip to content

Commit 9d18637

Browse files
committed
(maint) install libcurl4 pkgs on gh runners
The 'patron' gem requires us to install libcurl4 and libcurl4-openssl-dev to build its native extensions. 'patron' is a dependency of the module meta-gem.
1 parent 5c943d2 commit 9d18637

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

.github/workflows/unit-test.yml

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ jobs:
66
runs-on: ubuntu-22.04
77
steps:
88
- uses: actions/checkout@v2
9+
- name: install libcurl & libcurl4-openssl-dev
10+
description: these packages are required to build native extensions for the 'patron' gem
11+
run: |
12+
sudo apt-get update
13+
sudo apt-get install -y libcurl4 libcurl4-openssl-dev
914
- uses: ruby/setup-ruby@v1
1015
with:
1116
ruby-version: 2.6
@@ -23,6 +28,11 @@ jobs:
2328
runs-on: ubuntu-22.04
2429
steps:
2530
- uses: actions/checkout@v2
31+
- name: install libcurl & libcurl4-openssl-dev
32+
description: these packages are required to build native extensions for the 'patron' gem
33+
run: |
34+
sudo apt-get update
35+
sudo apt-get install -y libcurl4 libcurl4-openssl-dev
2636
- uses: ruby/setup-ruby@v1
2737
with:
2838
ruby-version: 2.6
@@ -39,7 +49,9 @@ jobs:
3949
- uses: ruby/setup-ruby@v1
4050
with:
4151
ruby-version: 2.6
42-
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
52+
bundler-cache: false
53+
- name: Run bundle install
54+
run: bundle install
4355
- run: bundle exec rspec spec/run_cd4pe_job_spec.rb
4456
windows_tests:
4557
runs-on: windows-latest
@@ -48,5 +60,7 @@ jobs:
4860
- uses: ruby/setup-ruby@v1
4961
with:
5062
ruby-version: 2.6
51-
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
63+
bundler-cache: false
64+
- name: Run bundle install
65+
run: bundle install
5266
- run: $env:RUN_WINDOWS_UNIT_TESTS = "true"; bundle exec rspec spec/run_cd4pe_job_spec.rb

0 commit comments

Comments
 (0)