Sha256: 725fe7bbeee84675d48831fed9d5a16dad3b32632e10b88ee6fe3dfc88fbeec6
Contents?: true
Size: 1.92 KB
Versions: 34
Compression:
Stored size: 1.92 KB
Contents
name: CI on: [push, pull_request] jobs: system-libffi: # Run on latest MRI with explicit selection of system or builtin libffi strategy: fail-fast: false matrix: os: [ ubuntu, macos, windows ] extconfopts: [ --disable-system-libffi, --enable-system-libffi ] runs-on: ${{ matrix.os }}-latest steps: - uses: actions/checkout@v2 - uses: ruby/setup-ruby@v1 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' - run: bundle install - run: bundle exec rake libffi - run: bundle exec rake compile -- ${{ matrix.extconfopts }} env: # work around misconfiguration of libffi on MacOS with homebrew PKG_CONFIG_PATH: ${{ env.PKG_CONFIG_PATH }}:/usr/local/opt/libffi/lib/pkgconfig - run: bundle exec rake test - run: bundle exec rake types_conf && git --no-pager diff specs: # Run all specs on all ruby implementations # Use automatic libffi selection on MRI strategy: fail-fast: false matrix: os: [ ubuntu, macos, windows ] ruby: [ 2.3, 2.4, 2.5, 2.6, 2.7, ruby-head, truffleruby-head ] exclude: - os: windows ruby: truffleruby-head - os: windows ruby: 2.3 # compilation fails runs-on: ${{ matrix.os }}-latest steps: - uses: actions/checkout@v2 - uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby }} - run: brew install automake if: matrix.os == 'macos' - run: bundle install - run: bundle exec rake libffi - run: bundle exec rake compile - run: bundle exec rake test - run: bundle exec rake bench:all if: matrix.ruby != 'truffleruby-head' env: ITER: 10
Version data entries
34 entries across 34 versions & 3 rubygems