summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Williams <samuel.williams@oriontransfer.co.nz>2020-02-07 02:07:27 +1300
committerSamuel Williams <samuel.williams@oriontransfer.co.nz>2020-02-09 17:13:59 +1300
commitcf0eff625452312f2e4026c51efb97ee9b87b08b (patch)
tree80dc5a8654d734db6a126f7dd830cb3c5256cf94
parent94d24aa3714d3f12828fca739ac4df8208365663 (diff)
downloadrack-cf0eff625452312f2e4026c51efb97ee9b87b08b.tar.gz
Installing dependencies for macos.
-rw-r--r--.github/workflows/development.yml15
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