From 33844e8f03466e6148bbd6a3f7ce0ad3a71a228f Mon Sep 17 00:00:00 2001 From: "Rafael G. Martins" Date: Sun, 10 May 2020 00:18:10 +0200 Subject: build: github-actions: ruby/ronn fixes - suppress warnings by downgrading rubygems to 3.0.6 - do not install ronn as root on macos --- .github/workflows/yatr.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to '.github/workflows/yatr.yaml') 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 -- cgit v1.2.3-18-g5258