mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Check dependencies on macOS too
This commit is contained in:
parent
73834b5fc9
commit
640b340583
1 changed files with 12 additions and 1 deletions
13
.github/workflows/check_dependencies.yml
vendored
13
.github/workflows/check_dependencies.yml
vendored
|
@ -2,7 +2,11 @@ name: Check Dependencies
|
||||||
on: [push, pull_request]
|
on: [push, pull_request]
|
||||||
jobs:
|
jobs:
|
||||||
update-deps:
|
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]')"
|
if: "!contains(github.event.head_commit.message, '[ci skip]')"
|
||||||
steps:
|
steps:
|
||||||
- name: Install libraries
|
- name: Install libraries
|
||||||
|
@ -10,6 +14,13 @@ jobs:
|
||||||
set -x
|
set -x
|
||||||
sudo apt-get update -q || :
|
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
|
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.1 zlib autoconf automake libtool readline
|
||||||
|
if: "contains(matrix.os, 'macos')"
|
||||||
- name: git config
|
- name: git config
|
||||||
run: |
|
run: |
|
||||||
git config --global advice.detachedHead 0
|
git config --global advice.detachedHead 0
|
||||||
|
|
Loading…
Reference in a new issue