diff options
author | Samuel Williams <samuel.williams@oriontransfer.co.nz> | 2020-02-07 02:07:27 +1300 |
---|---|---|
committer | Samuel Williams <samuel.williams@oriontransfer.co.nz> | 2020-02-07 02:10:33 +1300 |
commit | f0186b8a9ce18405e69aba77e8de1389be3423cf (patch) | |
tree | 4bcc4b54de6c4b1d00a9a6dbecb51f91be440386 | |
parent | 974693db81fe04d96dfa8613d330a93b3308bc3d (diff) | |
download | rack-github-actions.tar.gz |
Installing dependencies for macos.github-actions
-rw-r--r-- | .github/workflows/development.yml | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/.github/workflows/development.yml b/.github/workflows/development.yml index 1ba75a54..c19e9d76 100644 --- a/.github/workflows/development.yml +++ b/.github/workflows/development.yml @@ -3,11 +3,12 @@ name: Development on: [push] jobs: + test: strategy: fail-fast: false matrix: - os: [ubuntu-latest] + os: [ubuntu-latest, macos-latest] ruby: [2.3, 2.4, 2.5, 2.6, 2.7, jruby, truffleruby] runs-on: ${{matrix.os}} steps: @@ -21,9 +22,17 @@ jobs: key: bundle-use-ruby-${{matrix.os}}-${{matrix.ruby}}-${{hashFiles('**/Gemfile')}} restore-keys: | bundle-use-ruby-${{matrix.os}}-${{matrix.ruby}}- - - name: Install dependencies... + + - name: Installing packages + if: matrix.os == 'ubuntu-latest' + run: sudo apt-get install libfcgi-dev libmemcached-dev + + - name: Installing packages + if: matrix.os == 'macos-latest' + run: brew install fcgi libmemcached + + - name: Bundle install... run: | - sudo apt-get install libfcgi-dev libmemcached-dev bundle config path vendor/bundle bundle install - run: bundle exec rake |