Skip to content

Commit

Permalink
CI: more concise ssl arguments for macos
Browse files Browse the repository at this point in the history
  • Loading branch information
sodabrew committed Jan 19, 2023
1 parent 03cc7ba commit 95fd24d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ jobs:
- '2.3'
- '2.2'
- '2.1'
db: ['']
ssl: ['']
include:
# Comment out due to ci/setup.sh stucking.
Expand Down Expand Up @@ -63,4 +62,6 @@ jobs:
run: echo 'DB=${{ matrix.db }}' >> $GITHUB_ENV
- run: sudo echo "127.0.0.1 mysql2gem.example.com" | sudo tee -a /etc/hosts
- run: bash ci/setup.sh
- run: bundle exec rake spec -- $([ -x "$(which brew)" ] && echo --with-openssl-dir=$(brew --prefix ${{ matrix.ssl }}))
- if: matrix.ssl
run: echo "rake_spec_opts=--with-openssl-dir=$(brew --prefix ${{ matrix.ssl }})" >> $GITHUB_ENV
- run: bundle exec rake spec -- $rake_spec_opts

0 comments on commit 95fd24d

Please sign in to comment.