diff options
author | Kazuhiro NISHIYAMA <zn@mbf.nifty.com> | 2019-10-27 09:59:56 +0900 |
---|---|---|
committer | Kazuhiro NISHIYAMA <znz@users.noreply.github.com> | 2019-10-27 20:19:04 +0900 |
commit | 85d966af21ce834ddefe13861bcb42abae244d25 (patch) | |
tree | ed42111a886bf552950eb79bdda411fc43c7806f | |
parent | 417369e0cd6ec96950d2d48f2c94e7b1eb012076 (diff) | |
download | ruby-85d966af21ce834ddefe13861bcb42abae244d25.tar.gz |
Add ubuntu-16.04 to matrix of GitHub Actions
-rw-r--r-- | .github/workflows/ubuntu.yml | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index e2102e2799..0a6f0a4208 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -8,11 +8,12 @@ on: - '*' jobs: latest: - runs-on: ubuntu-latest strategy: matrix: + os: [ubuntu-latest, ubuntu-16.04] test_task: [ "check", "test-bundler", "test-bundled-gems" ] fail-fast: false + runs-on: ${{ matrix.os }} if: "!contains(github.event.head_commit.message, '[ci skip]')" steps: - run: env | sort @@ -44,10 +45,8 @@ jobs: - name: Install libraries run: | set -x - sudo sed /etc/apt/sources.list -e "s/^# deb-src/deb-src/g" -i - sudo apt-get update - sudo apt-get install ruby2.5 - sudo apt-get build-dep ruby2.5 + 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 # Not using official actions/checkout because it's unstable and sometimes doesn't work for a fork. - name: Checkout ruby/ruby run: git clone --depth=50 https://github.com/ruby/ruby . && git reset --hard "$GITHUB_SHA" |