aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2020-05-10 00:18:10 +0200
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2020-05-10 00:18:10 +0200
commit33844e8f03466e6148bbd6a3f7ce0ad3a71a228f (patch)
tree38b54dc760873b3888887dd4842fda7a312c66c5 /.github/workflows
parentb95213d6b123587351c039d7efebe73b7e72fd83 (diff)
downloadblogc-33844e8f03466e6148bbd6a3f7ce0ad3a71a228f.tar.gz
blogc-33844e8f03466e6148bbd6a3f7ce0ad3a71a228f.tar.bz2
blogc-33844e8f03466e6148bbd6a3f7ce0ad3a71a228f.zip
build: github-actions: ruby/ronn fixes
- suppress warnings by downgrading rubygems to 3.0.6 - do not install ronn as root on macos
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/yatr.yaml4
1 files changed, 3 insertions, 1 deletions
diff --git a/.github/workflows/yatr.yaml b/.github/workflows/yatr.yaml
index d44b2f0..361ad22 100644
--- a/.github/workflows/yatr.yaml
+++ b/.github/workflows/yatr.yaml
@@ -47,8 +47,9 @@ jobs:
- name: Install dependencies
run: |
- sudo gem install ronn
if [[ "x${{ matrix.image }}" = xubuntu-* ]]; then
+ sudo gem update --system 3.0.6 # hack for https://github.com/rubygems/rubygems/issues/3068
+ sudo gem install ronn
if [[ "x${{ matrix.target }}" = *check* ]] || [[ "x${{ matrix.target }}" = xvalgrind ]]; then
sudo apt-get install -y libcmocka-dev
fi
@@ -65,6 +66,7 @@ jobs:
sudo apt-get install -y gcc-mingw-w64-x86-64
fi
elif [[ "x${{ matrix.image }}" = xmacos-* ]]; then
+ gem install ronn
brew install automake coreutils cmocka pkg-config
fi