diff options
author | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2020-05-10 00:18:10 +0200 |
---|---|---|
committer | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2020-05-10 00:18:10 +0200 |
commit | 33844e8f03466e6148bbd6a3f7ce0ad3a71a228f (patch) | |
tree | 38b54dc760873b3888887dd4842fda7a312c66c5 | |
parent | b95213d6b123587351c039d7efebe73b7e72fd83 (diff) | |
download | blogc-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
-rw-r--r-- | .github/workflows/yatr.yaml | 4 |
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 |