Manually update ffi changelog #149
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: ci | |
on: | |
pull_request: | |
branches: | |
- main | |
push: | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
name: Lint ${{ matrix.ruby }} | |
strategy: | |
matrix: | |
ruby: | |
- 2.5 | |
fail-fast: false | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Setup Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: "${{matrix.ruby}}" | |
- name: Install Dependencies | |
shell: bash -l -e -o pipefail {0} | |
run: | | |
rm -f Gemfile.lock | |
bundle install --jobs=3 && bundle update --jobs=3 | |
- name: Run Linter | |
shell: bash -l -e -o pipefail {0} | |
run: | | |
CI=true bundle exec standardrb | |
test-ffi: | |
runs-on: ubuntu-latest | |
name: Test FFI ${{ matrix.ruby }} | |
strategy: | |
matrix: | |
ruby: | |
- 2.5 | |
- 2.6 | |
- 2.7 | |
- 3.0 | |
fail-fast: false | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Setup Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: "${{matrix.ruby}}" | |
- name: Install Dependencies | |
shell: bash -l -e -o pipefail {0} | |
run: | | |
rm -f Gemfile.lock | |
bundle install --jobs=3 && bundle update --jobs=3 | |
- name: Install FFI Dependencies | |
shell: bash -l -e -o pipefail {0} | |
working-directory: ./ffi | |
run: | | |
rm -f Gemfile.lock | |
bundle install --jobs=3 && bundle update --jobs=3 | |
- name: Run FFI Tests | |
shell: bash -l -e -o pipefail {0} | |
working-directory: ./ffi | |
run: | | |
CI=true bundle exec rake test | |
test-mri: | |
runs-on: ubuntu-latest | |
name: Test MRI ${{ matrix.ruby }} | |
strategy: | |
matrix: | |
ruby: | |
- 2.6 | |
- 2.7 | |
- 3.0 | |
fail-fast: false | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Setup Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: "${{matrix.ruby}}" | |
- name: Install Dependencies | |
shell: bash -l -e -o pipefail {0} | |
run: | | |
rm -f Gemfile.lock | |
bundle install --jobs=3 && bundle update --jobs=3 | |
- name: Install MRI Dependencies | |
shell: bash -l -e -o pipefail {0} | |
working-directory: ./mri | |
run: | | |
rm -f Gemfile.lock | |
bundle install --jobs=3 && bundle update --jobs=3 | |
- name: Run MRI Tests | |
shell: bash -l -e -o pipefail {0} | |
working-directory: ./mri | |
run: | | |
CI=true bundle exec rake test |