Skip to content

Commit

Permalink
ci: add jobs to test with --disable-system-libraries
Browse files Browse the repository at this point in the history
  • Loading branch information
stanhu committed Jul 12, 2023
1 parent a5b0b1c commit c53adc4
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,35 @@ jobs:
ruby-version: "${{ matrix.ruby }}"
bundler-cache: true
- run: bundle exec rake

vendor:
name: Ruby ${{ matrix.ruby }} - vendored libre2 and abseil
runs-on: ubuntu-20.04
strategy:
matrix:
ruby:
- '3.2'
- '3.1'
- '3.0'
- 2.7
- 2.6
- 2.5
- 2.4
- 2.3
steps:
- uses: actions/checkout@v3
- name: Install build dependencies
run: |
sudo apt-get install -y build-essential cmake
- name: Configure Bundler for Ruby dependencies
run: bundle config --local path vendor/bundle
- name: Generate Gemfile.lock
run: bundle lock
- name: Cache Ruby dependencies
uses: actions/cache@v3
with:
path: vendor/bundle
key: gems-v1-${{ runner.os }}-${{ matrix.ruby }}-${{ hashFiles('Gemfile.lock') }}
- run: bundle install --jobs 4
- run: bundle exec rake compile -- --disable-system-libraries
- run: bundle exec rake

0 comments on commit c53adc4

Please sign in to comment.