Clean up Rational signatures
#49
Workflow file for this run
This file contains hidden or 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: TruffleRuby | |
| on: | |
| push: | |
| branches: | |
| - master | |
| pull_request: {} | |
| merge_group: {} | |
| permissions: | |
| contents: read | |
| jobs: | |
| test: | |
| runs-on: "ubuntu-latest" | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| ruby: ['truffleruby'] | |
| job: | |
| - test | |
| env: | |
| RANDOMIZE_STDLIB_TEST_ORDER: "true" | |
| # TruffleRuby warns and falls back to US-ASCII unless the locale is UTF-8. | |
| LANG: "en_US.UTF-8" | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: ruby/setup-ruby@v1 | |
| with: | |
| ruby-version: ${{ matrix.ruby }} | |
| bundler: none | |
| - name: Set working directory as safe | |
| run: git config --global --add safe.directory $(pwd) | |
| - name: Install dependencies | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y libdb-dev curl autoconf automake m4 libtool python3 | |
| - name: Update rubygems & bundler | |
| run: | | |
| ruby -v | |
| gem update --system | |
| - name: install erb | |
| run: gem install erb | |
| - name: bundle config | |
| run: | | |
| # Profilers and the typecheck tooling are not needed for the smoke test, | |
| # and some of them do not support TruffleRuby. | |
| bundle config set --local without 'profilers typecheck_test' | |
| - name: bin/setup | |
| run: | | |
| bin/setup | |
| - name: Run test | |
| run: | | |
| bundle exec rake ${{ matrix.job }} |