ruby-changes:63400
From: Nobuyoshi <ko1@a...>
Date: Wed, 21 Oct 2020 12:32:29 +0900 (JST)
Subject: [ruby-changes:63400] 640b340583 (master): Check dependencies on macOS too
https://git.ruby-lang.org/ruby.git/commit/?id=640b340583 From 640b3405831d334d1297a32a686c7a74ab9229a9 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Wed, 21 Oct 2020 11:03:12 +0900 Subject: Check dependencies on macOS too diff --git a/.github/workflows/check_dependencies.yml b/.github/workflows/check_dependencies.yml index 0ad2d5e..b5a3c67 100644 --- a/.github/workflows/check_dependencies.yml +++ b/.github/workflows/check_dependencies.yml @@ -2,7 +2,11 @@ name: Check Dependencies https://github.com/ruby/ruby/blob/trunk/.github/workflows/check_dependencies.yml#L2 on: [push, pull_request] jobs: update-deps: - runs-on: ubuntu-20.04 + strategy: + matrix: + os: [ubuntu-20.04, macos-latest] + fail-fast: true + runs-on: ${{ matrix.os }} if: "!contains(github.event.head_commit.message, '[ci skip]')" steps: - name: Install libraries @@ -10,6 +14,13 @@ jobs: https://github.com/ruby/ruby/blob/trunk/.github/workflows/check_dependencies.yml#L14 set -x sudo apt-get update -q || : sudo apt-get install --no-install-recommends -q -y build-essential libssl-dev libyaml-dev libreadline6-dev zlib1g-dev libncurses5-dev libffi-dev libgdbm-dev bison autoconf ruby + if: "contains(matrix.os, 'ubuntu')" + - name: Install libraries + run: | + export WAITS='5 60' + brew upgrade + brew install gdbm gmp libffi openssl@1... zlib autoconf automake libtool readline + if: "contains(matrix.os, 'macos')" - name: git config run: | git config --global advice.detachedHead 0 -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/