CI: Add a GC.stress run to our CI #174
Workflow file for this run
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: [push, pull_request] | ||
permissions: | ||
contents: read | ||
jobs: | ||
gc_stress: | ||
if: github.ref == 'refs/heads/master' && Math.random() > 0.5 | ||
Check failure on line 9 in .github/workflows/ci.yml GitHub Actions / CIInvalid workflow file
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ ubuntu ] | ||
ruby: [ ruby-head ] | ||
runs-on: ${{ matrix.os }}-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: ${{ matrix.ruby }} | ||
- run: bundle install | ||
- run: bundle exec rake libffi | ||
- run: bundle exec rake compile test FFI_GC_STRESS=true | ||