Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI: Install libffi which matches running arch #905

Merged
merged 2 commits into from Jun 19, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
10 changes: 6 additions & 4 deletions .github/workflows/ci.yml
Expand Up @@ -16,10 +16,12 @@ jobs:
with:
ruby-version: 2.7

- run: brew install automake libffi pkg-config
if: matrix.os == 'macos'
- run: ridk exec pacman --sync --refresh --needed --noconfirm mingw-w64-x86_64-libffi
if: matrix.os == 'windows' && matrix.extconfopts == '--enable-system-libffi'
- if: matrix.os == 'macos'
run: brew install automake libffi pkg-config

- if: matrix.os == 'windows' && matrix.extconfopts == '--enable-system-libffi'
shell: cmd
run: ridk exec sh -c "pacman --sync --refresh --needed --noconfirm ${MINGW_PACKAGE_PREFIX}-libffi"

- run: bundle install
- run: bundle exec rake libffi
Expand Down